Merge pull request #15907 from atm-kevin/Fix_multicurrency_supplier_invoice_puht_devise

Fix #14353
This commit is contained in:
Laurent Destailleur 2021-01-06 19:32:53 +01:00 committed by GitHub
commit fead1b7e86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1107,7 +1107,7 @@ if (empty($reshook))
$tva_tx = (GETPOST('tva_tx') ? GETPOST('tva_tx') : 0); $tva_tx = (GETPOST('tva_tx') ? GETPOST('tva_tx') : 0);
if (GETPOST('price_ht') != '') if (GETPOST('price_ht') != '' || GETPOST('multicurrency_subprice') != '')
{ {
$up = price2num(GETPOST('price_ht')); $up = price2num(GETPOST('price_ht'));
$price_base_type = 'HT'; $price_base_type = 'HT';