diff options
| author | Goffin Simon <sig@odoo.com> | 2017-03-16 14:46:26 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-03-20 09:32:54 +0100 |
| commit | fa02b798377da3a1c14fddbacfc81b626d862283 (patch) | |
| tree | c2e24e9b7a56f74f6c99878647530ef13d6d1085 /addons/web_editor/static/src/js | |
| parent | aefdf96c25973778f3a00c06b107c30e440b0d94 (diff) | |
[FIX] account: get_move_lines_for_reconciliation for expenses
Steps to reproduce:
-Create a new journal called VISA of type=bank
-Allow the reconciliation on debit and credit account
-Create two expenses (700$ each one)paid by company with the VISA journal
-Submit to manager, validate and post the entries
-Create a bank statement of -1400$ on Bank journal
-Click on reconcile button
Bug: the two account move lines linked to the expenses are not available
to be reconciled with the statement.
In 9.0, it was possible but due to this commit: 9188d0193465e7aca5c7c9a43ee2b16ba00cbae6
the two aml were not available because
this two aml had a payment_id, no statement_id and were with an account_id different of the bank journal
(not in reconciliation_aml_accounts) because they had been paid with VISA journal. So they were rejected
with the domain_reconciliation due to the account_id on VISA journal and they were rejected with the
domain_matching due to the payment_id not False and statement_id False.
In 9.0, they were accepted with the domain_matching so the same behavior has been done in saas-11.
opw:709861
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions
