summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorlen-odoo <len@odoo.com>2018-11-27 15:01:19 +0000
committerlen-odoo <len@odoo.com>2018-11-28 13:03:01 +0000
commit3987d11a8098d557bf4566992eda82b3331bdf73 (patch)
treefcf45a1d309727e84fa704e19ce45daf2875948e /addons/web/static/src/js/views/basic/basic_model.js
parentf9c483d9f5b4ef72bc3796111264138cc17ee3ea (diff)
[FIX] account: use the total amount instead of the amount before rounding
Create a "Cash Rounding Method" C with Rounding Precision: 0.05, Rounding Strategy: Modify tax amount, Rounding Method: DOWN. Create an invoice I with rounding of currency C, with some tax line and nonzero rounding. When you now print the invoice, the tax amount is not the same, as it shows the field "amount" instead of "amount_total". Fix courtesy of Olivier Jossen, Braintec opw 1909215 closes odoo/odoo#29079
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions