Merge pull request #14395 from andreubisquerra/master

FIX: TakePOS is not loading some specific customer taxes
This commit is contained in:
Laurent Destailleur 2020-08-07 10:00:36 +02:00 committed by GitHub
commit 752143fdfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -348,6 +348,7 @@ if ($action == "addline")
}
}
if ($idoflineadded <= 0) {
$invoice->fetch_thirdparty();
$idoflineadded = $invoice->addline($prod->description, $price, 1, $tva_tx, $localtax1_tx, $localtax2_tx, $idproduct, $customer->remise_percent, '', 0, 0, 0, '', $price_base_type, $price_ttc, $prod->type, -1, 0, '', 0, $parent_line, null, '', '', 0, 100, '', null, 0);
}