From 677d50df5ba788f89895b59a0143d610b1fba560 Mon Sep 17 00:00:00 2001 From: Marc de Lima Lucio Date: Thu, 27 Jul 2017 17:11:15 +0200 Subject: [PATCH] NEW: add 'formObjectOptions' hook to the form setting the product selling price --- htdocs/product/price.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 2b5617c601d..54138d099a2 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -1171,6 +1171,9 @@ if ($action == 'edit_price' && $object->getRights()->creer) } print ''; print ''; + + $parameters=array('colspan' => 2); + $reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook print '';