summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/data_manager.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2018-07-12 11:46:43 +0200
committerLucas Perais (lpe) <lpe@odoo.com>2018-07-12 13:07:56 +0200
commit755081cbf4d3df629a33565fc4e59bb4d020ad52 (patch)
tree17dc839a8d538397efc3d52205bd25899b065518 /addons/web/static/src/js/framework/data_manager.js
parentdad19a769a1123538d9717ff9b9134d97d3ff194 (diff)
[FIX] account: reconciliation widget rounding
Set the rounding method to Round Globally Create a tax A with rate = 1.1040 % Create a bank statement with one line having amount = 1153.960 Go on to reconcile that bank statement Reconcile with a new line on which the tax A applies Create the write-off Click on Reconcile Before this commit, an error was thrown by the server (Move unbalanced) This was because the amount of the write-off line sent by JS (which is the tax amount) was 12.7397 The server though computes the taxes by forcing the rounding and gives off a tax amount of 12.74 Hence the error After this commit, the JS will fetch the amount of the taxes by forcing the rounding there also And the reconciliation process goes well This fix is already present in v11.0 at 6fce298d7013379c4383e8368c40ee06d6146423 OPW 1859939 closes #25733
Diffstat (limited to 'addons/web/static/src/js/framework/data_manager.js')
0 files changed, 0 insertions, 0 deletions