diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-07-03 17:49:19 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-07-09 10:05:18 +0200 |
| commit | 42e74aae51904955e725e4a96e39eb2bd60f3019 (patch) | |
| tree | 929ff477f046b7d237cab4c7ad3bd2ece1bb41bb /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 67b5cde62b9c85d7a77d6d1df27f15318bccc638 (diff) | |
[FIX] account: revert reconciled payment with exchange difference entry
This is essentially a backport of 7544c22de9a4cea028ff8fe63931bf68573e0821
and
4f40c9da7b26dab9b6eb64aa5df2fe408fa3b24c
Company is in USD
Do an invoice in EUR with a specific rate (and post it)
Do a payment on this invoice with another rate (and post it)
revert the payment's move
Before this commit, the move_lines of the original/reverted move pair were not reconciled
to one another
This could cause problems in some reports (aged reports for example)
After this commit, the lines in the original/revert move pair are reconciled
provided that they *can* be reconciled
Which is either belonging to a reconciliable account, or to an account of type liquidity
OPW 1861273
closes #25600
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
