2
0
forked from Wavyzz/dolibarr
* #35230

* Update massstockmove.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Pratush Raj
2025-09-05 18:03:09 +05:30
committed by GitHub
parent cd7de255bc
commit 4d23d3f77c

View File

@@ -481,6 +481,10 @@ if ($action == 'importCSV' && $user->hasRight('stock', 'mouvement', 'creer')) {
$error++;
setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("Qty")), null, 'errors');
}
if (!is_numeric($tmp_qty)) {
$error++;
setEventMessages('Qty need to be numeric value only', null, 'errors');
}
// Check a batch number is provided if product need it
if (!$error) {