diff options
| author | Joren Van Onder <jov@odoo.com> | 2017-01-30 14:42:20 -0800 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2017-02-08 10:28:33 -0800 |
| commit | 0556bc6d9e780e1d7100dc3f85d3fc4eee18502f (patch) | |
| tree | 0b055ebb5da7ccf03f4747b469c191b39319de2e /addons/web/static/src/js/views | |
| parent | 00cf180862785da1cb0c78f7169754e21f45a7f4 (diff) | |
[FIX] point_of_sale: properly round taxes with round_globally
When tax_calculation_rounding_method is configured to round_globally the
compute_all method of account.tax will not round the taxes based on the
currency. The result of the compute_all function is used when creating
the tax parts of a pos.order account.move.
Taxes are aggregated per session, so 2 orders with orderlines in them
with the same tax will turn into 1 single tax account.move.line. To
correctly handle round_globally, we round all tax values we have after
processing each order.
Fixes #14672
Fixes #14673
Diffstat (limited to 'addons/web/static/src/js/views')
0 files changed, 0 insertions, 0 deletions
