diff options
| author | Laurent Smet <las@odoo.com> | 2019-05-21 15:15:57 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2019-05-22 09:23:36 +0000 |
| commit | 9989a9c3294d0ef3bd6a659bd8a5d7cce9cd49dc (patch) | |
| tree | 09e2adea677538585962b17e0021b621ac4f6854 /addons/l10n_ae/data | |
| parent | 839f62c37532ea1b2309617bd8509cb3a6ebd8c5 (diff) | |
[FIX] account: Fix reconciliation foreign currency on account
Suppose you make a reconciliation on an account having a foreign currency being
the same as the company one.
Suppose also you are making a reconciliation of three lines without currency_id set on this account:
- A with debit = 11
- B with credit = 10
- C with credit = 1
Before this commit, the reconciliation was wrong because all computation are made using the foreign
currency due to the account's configuration. As A, B & C have their amount_currency set to 0,
an account.full.reconcile is well created but only one account.partial.reconcile is created instead of
2 leading to an inconsistent state.
opw:1984684
closes odoo/odoo#33445
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Co-authored-by: Goffin Simon <simon.goffin@outlook.com>
Diffstat (limited to 'addons/l10n_ae/data')
0 files changed, 0 insertions, 0 deletions
