summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2017-11-24 08:49:10 +0100
committerLucas Perais (lpe) <lpe@odoo.com>2017-11-27 09:25:39 +0100
commit32730ef82b4a491c5ea6ec633f199f090b16cb50 (patch)
tree5f6cf8e9f1b1bf0843205a98c7f9ad7c587513e1 /addons/web/static/src/js/views/basic/basic_model.js
parent2ef42e311c7da31875f2013ebb0bb6ceda4f1233 (diff)
[FIX] account: reconciliation widget tax included
Before this commit, when reconciling with a tax included line, the journal entries were wrong as the amount taken into account was the one that was **already** computed with tax e.g: TAX: 20% amount of the line (tax included): 1 tax amount: 0.17 base amount: 0.83 what was sent to the server was the basea amount, and since python re-computes the taxes it reapplied tax included 20% on 0.83 instead of 1 After this commit, we send the right amount to the server, at the small price of semantics change in the meaning of "amount" OPW 783933 closes #21189
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions