diff options
| author | Olivier Dony <odo@openerp.com> | 2017-03-06 15:22:34 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-03-06 16:17:10 +0100 |
| commit | 4f40c9da7b26dab9b6eb64aa5df2fe408fa3b24c (patch) | |
| tree | 36ab42def2f6b1de456dd759a211b7a3e26519fb /addons/web/static/src/js/views/basic | |
| parent | ee5241a2f342ebd254e95d0346561debb4c2cd4a (diff) | |
[FIX] account: prevent loops when unreconciling entries
7544c22de9a4cea028ff8fe63931bf68573e0821 refactored the handling of
exchange rate entries when unreconciling entries.
However it did not preserve the piece of code that prevented loops
during this operation (`full_rec_lookup` context key).
This could cause the unreconciliation of entries with an exchange rate
difference to fail with a confusing error claiming that the user is
trying "to reconcile some entries that are already reconciled!".
The double reconciliation was caused by a recursive attempt to reverse
the exchange rate entry.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
