* #35230 * Update massstockmove.php --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
cd7de255bc
commit
4d23d3f77c
1 changed files with 4 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue