Merge pull request #20316 from atm-gauthier/14.0_fix_round_unitprice_with_MU

FIX : when we use ajax select product fourn price on supplier order for example, unitprice should be rounded with MU and not MT
This commit is contained in:
Laurent Destailleur 2022-03-16 22:34:49 +01:00 committed by GitHub
commit 090b5c41bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3400,7 +3400,7 @@ class Form
'value'=>$outref,
'label'=>$outval,
'qty'=>$outqty,
'price_ht'=>price2num($objp->unitprice, 'MT'),
'price_ht'=>price2num($objp->unitprice, 'MU'),
'discount'=>$outdiscount,
'type'=>$outtype,
'duration_value'=>$outdurationvalue,