From bf1bc4d262cd4b5d296ce7fa4a4568b31695ffc3 Mon Sep 17 00:00:00 2001 From: jonathan-stimactiv <141750461+jonathan-stimactiv@users.noreply.github.com> Date: Tue, 25 Feb 2025 15:29:22 +0100 Subject: [PATCH] Fix dynamic price "back" link from price_suppliers tab Fix dynamic price "back" link from price_suppliers tab --- htdocs/product/price_suppliers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/price_suppliers.php b/htdocs/product/price_suppliers.php index 18d7a0ae6a5..de770bd035f 100644 --- a/htdocs/product/price_suppliers.php +++ b/htdocs/product/price_suppliers.php @@ -679,7 +679,7 @@ if ($id > 0 || $ref) { on_change(); } function on_click() { - window.location = "'.DOL_URL_ROOT.'/product/dynamic_price/editor.php?id='.$id.'&tab=fournisseurs&eid=" + $("#eid").val(); + window.location = "'.DOL_URL_ROOT.'/product/dynamic_price/editor.php?id='.$id.'&tab=price_suppliers&eid=" + $("#eid").val(); } function on_change() { if ($("#eid").val() == 0) {