Merge pull request #17799 from atm-john/13.0_fix_wrong_context
FIX : wrong hook context
This commit is contained in:
commit
d79be7615c
@ -45,7 +45,7 @@ if ($user->socid) {
|
|||||||
$result = restrictedArea($user, 'produit|service');
|
$result = restrictedArea($user, 'produit|service');
|
||||||
|
|
||||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||||
$hookmanager->initHooks(array('stockreplenishlist'));
|
$hookmanager->initHooks(array('stockatdate'));
|
||||||
|
|
||||||
//checks if a product has been ordered
|
//checks if a product has been ordered
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user