Merge pull request #7507 from dolibarr95/patch-20
Line missing (error 500)
This commit is contained in:
commit
03c08b1de4
@ -561,6 +561,7 @@ if (empty($reshook))
|
||||
if (!$res) dol_print_error($db);
|
||||
}
|
||||
|
||||
$productsupplier = new ProductFournisseur($db);
|
||||
if ($productsupplier->get_buyprice(0, price2num($_POST['qty']), $line->fk_product, 'none', GETPOST('socid','int')) < 0 )
|
||||
{
|
||||
setEventMessages($langs->trans("ErrorQtyTooLowForThisSupplier"), null, 'warnings');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user