mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-13 03:12:35 +01:00
Add Hook "Massstockmove"
This commit is contained in:
@@ -34,6 +34,9 @@ require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php';
|
||||
// Load translation files required by the page
|
||||
$langs->loadLangs(array('products', 'stocks', 'orders', 'productbatch'));
|
||||
|
||||
//init Hook
|
||||
$hookmanager->initHooks(array('massstockmove'));
|
||||
|
||||
// Security check
|
||||
if ($user->socid) {
|
||||
$socid = $user->socid;
|
||||
|
||||
Reference in New Issue
Block a user