diff --git a/addons/purchase_stock/models/account_invoice.py b/addons/purchase_stock/models/account_invoice.py index 02935d55a16..6731c3c05b0 100644 --- a/addons/purchase_stock/models/account_invoice.py +++ b/addons/purchase_stock/models/account_invoice.py @@ -116,7 +116,7 @@ class AccountMove(models.Model): price_unit = line.price_unit * (1 - (line.discount or 0.0) / 100.0) - if line.tax_ids: + if line.tax_ids and line.quantity: # We do not want to round the price unit since : # - It does not follow the currency precision # - It may include a discount