Merge pull request #1752 from marcosgdf/doactions-supplier

Added missing doActions for supplier order fiche.php
This commit is contained in:
Laurent Destailleur 2014-07-20 04:49:27 +02:00
commit 5be7e75fe6

View File

@ -105,6 +105,9 @@ $permissionnote=$user->rights->fournisseur->commande->creer; // Used by the incl
* Actions
*/
$parameters=array('socid'=>$socid);
$reshook=$hookmanager->executeHooks('doActions',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.inc.php'; // Must be include, not includ_once
if ($action == 'setref_supplier' && $user->rights->fournisseur->commande->creer)