diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-11-24 08:49:10 +0100 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2017-11-27 09:25:39 +0100 |
| commit | 32730ef82b4a491c5ea6ec633f199f090b16cb50 (patch) | |
| tree | 5f6cf8e9f1b1bf0843205a98c7f9ad7c587513e1 /addons/web_editor/static/src/js/backend.js | |
| parent | 2ef42e311c7da31875f2013ebb0bb6ceda4f1233 (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_editor/static/src/js/backend.js')
0 files changed, 0 insertions, 0 deletions
