summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-03-25 09:43:31 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2019-04-10 08:02:14 +0000
commitc43acc34b873dc70cf792675fe1d58d8b0e116b1 (patch)
treeb64dc4e8effccf487548d4e2ad1191ad51e79ef7 /addons/web/static/src/js/fields/basic_fields.js
parent30f7c0ea0e6cfaaadbe3ba4e4237895253bc8f20 (diff)
[FIX] account: cash basis reconciliation almost all amount
In multicurrency Do an invoice with cash basis lines in the foreign currency Make a payment for almost all the invoice "almost" refers to the point where virtually all taxes will be paid i.e., paying 90 over 100, that contains a tax of 5% The tax paid will be an amount almost equal (to a few cents) to the total amount of the tax It is not negligible, but if the currency rates are in the right configuration (i.e. 0.005888) Before this commit: the Cash Basis reconciliation will be considered as full and will trigger the creation of the Exchange Diff Entry. In turn, paying the rest of the invoice will pop up an error saying that some entries are already reconciled (with the Exchange Diff entry) It is not *that* that an exchange rate entry has been created the first time after all, a percentage sufficiently close to 100 has been paid But it blocks subsequent reconciliation, hence this fix After this commit, if the cash basis entry doesn't match at least 100% of the paid move then, we force to not check for full reconciliation OPW 1953027 closes #31168 closes odoo/odoo#32023 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions