forked from Wavyzz/dolibarr
* #35230 * Update massstockmove.php --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user