Merge pull request #13924 from atm-lena/11.0_AddHook_Massstockmove

Add Hook "Massstockmove"
This commit is contained in:
Laurent Destailleur 2020-05-23 14:25:12 +02:00 committed by GitHub
commit b7fbda8d08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;