diff options
| author | qdp-odoo <qdp@odoo.com> | 2019-01-25 12:21:16 +0000 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2019-01-25 12:21:16 +0000 |
| commit | 19ece698509be19597eec07a101a443383085a06 (patch) | |
| tree | 9af6d71a5d47f8db42ca5f1b3553c2bbc89cf591 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | c8ace043e50b202c88df81b9c02cc58256982d77 (diff) | |
[FIX] account: manual reconciliation from journal items
use cases fixed:
1) go in the journal items, filter on unreconciled lines, pick just one and click on 'Action > reconcile', the manual reconciliation widget opens but you directly get the rainbowman and you can't do anything. It's not possible to reconcile the selected entry with a writeoff (to clear a customer account, for example).
2) go in the journal items, select 2 receivable lines for the same amount but that don't have any partner set then click on 'Action > reconcile', the rainbowman directly shows without processing the reconciliation.
To fix those issues, we now clearly bypass the regular methods in case we have active_ids and active_model == 'account.move.line', since they weren't adapted anyway.
also implement real error message when selected lines don't have the same company or account (currently it's displaying a rainbowman): see error messages in 'reconcile()' in account_move.py
OPW #1919727 and #1930957
Co-authored by wan-odoo
closes odoo/odoo#29771
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
