Add Hook "Massstockmove"
This commit is contained in:
parent
82a8c42441
commit
bf9756b8c4
@ -34,6 +34,9 @@ require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php';
|
|||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array('products', 'stocks', 'orders', 'productbatch'));
|
$langs->loadLangs(array('products', 'stocks', 'orders', 'productbatch'));
|
||||||
|
|
||||||
|
//init Hook
|
||||||
|
$hookmanager->initHooks(array('massstockmove'));
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if ($user->socid) {
|
if ($user->socid) {
|
||||||
$socid = $user->socid;
|
$socid = $user->socid;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user