summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-01-05 09:48:33 +0100
committerNicolas Martinelli <nim@odoo.com>2016-01-08 08:11:24 +0100
commitef6116bfb54986c102554964d8ec01a4f617a1c2 (patch)
treef291fe35c5105ed174fb045375b80c9fb3f71587 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent54be29f0bc3b757330e0e624983c6c8e614cd888 (diff)
[FIX] account: exchange difference date and amount
The use case is the following: the currency of a customer invoice (e.g. EUR) is different from the currency of the company (e.g. USD). An invoice is created in EUR, and a payment is done in EUR on the receivable account which is in EUR. Between the invoice date (e.g. 2015-01-01) and the payment date (e.g. 2015-02-01), the rate has changed. The reconciliation between the invoice and the payment is done afterwards, for example 2015-03-01. When the write-off related to the exchange difference is created: - the date should be the max date between payment and invoice if the corresponding fiscal year is not closed (otherwise, today's date). - the amount currency on the receivable/payable account should be zero, since the amount currency on the foreign exchange account is zero. opw-659289
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions