-
- Downloads
[FIX] account, purchase: price_unit as Float
The price unit on the account move line is defined as a monetary field. However, on a Sales Order or on a Purchase Order, the price unit is defined as a float with precision 'Product Price'. Therefore, when an invoice is generated from a SO or a PO, inconsistencies arise if the product price precision is larger than the currency precision. opw-673251
Showing
- addons/account/models/account.py 4 additions, 7 deletionsaddons/account/models/account.py
- addons/account/models/account_invoice.py 3 additions, 2 deletionsaddons/account/models/account_invoice.py
- addons/account_voucher/account_voucher.py 1 addition, 1 deletionaddons/account_voucher/account_voucher.py
- addons/purchase/invoice.py 9 additions, 6 deletionsaddons/purchase/invoice.py
- addons/purchase/purchase.py 1 addition, 1 deletionaddons/purchase/purchase.py
Loading
Please register or sign in to comment