diff options
| author | Goffin Simon <sig@odoo.com> | 2016-07-18 11:43:18 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-07-18 12:51:16 +0200 |
| commit | 6cf275cc6b73a7d817a7db023ca3206c09527d62 (patch) | |
| tree | b29baa8f304c2c0052a54ebc4369145e8f606744 /addons/website/static/src/xml/website.contentMenu.xml | |
| parent | fbca56111be85f7c6f8b5a9cef43d143d69449fe (diff) | |
[FIX] account: Computation of a fixed amount tax
When an order with a fixed amount tax was returned the sign of the tax
was wrong because amount_base was negative and quantity was negative too,
then the tax was positive due to math.copysign(self.amount, base_amount) * abs(quantity)
The sign of the base amount already takes into account the the sign
of the quantity.
opw:682407
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions
