diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-03-09 10:18:51 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-03-09 12:20:47 +0100 |
| commit | 11c6f1b322ad05352933f26b5cf8e3272623af17 (patch) | |
| tree | ae211fc2b6633c947366f31786c8943bd1d40a9b /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | cc97fa292a455e0b7043df958d5b7e901d128515 (diff) | |
[FIX] account: tax rounding
- Set 'Round Globally'
- Create an excluded tax of 10 %
- Create an invoice for a product costing 34.55, and apply the tax.
The tax on the invoice is 3.46, while the tax on the tax line is 3.45.
When rounded in `compute_all`, the tax amount is 3.455, which is the
value expected. However, the `create` method won't round this value
before storing, leading to the inconsistency.
We make sure the currency is sent at saving, so the method
`convert_to_column` receives the appropriate values for rounding.
opw-1819902
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
