diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2019-09-13 08:38:23 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-09-20 08:45:33 +0000 |
| commit | 5e2ae036cfd035292f7148f823e8d54d74df915d (patch) | |
| tree | f58aa9c9397bfcf5a4024e564ac4e665cfa35bca /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 3ee3f7d497328dd09b0bc07349872f1b03bbe8e5 (diff) | |
[FIX] account: broken filter in reconciliation widget
From Accounting app under the kanban card "Bank" click on
"Reconcilile items". Select a line to reconcile with a selected partner
or counterpart (or input one) and then filter the underlying lines using
for example the name of the record
No filtering will occur, this is due to commit 900d89c997f9.
The domain used by the filtering function is matching all lines
from the current partner instead of restricting the search to
the filtered elements.
Reverting that commit and providing a fix for the original issue:
removing a check on the partner id make a logical separation between the
domain involving the partner_id and the one related to the search string,
so that they do not interfere with each other (at most they will overlap).
Preserving tests from the reverted commit and adding some more as well
opw-2070458
closes odoo/odoo#37179
X-original-commit: d434251f3350e033843d941b48cf84f7de28d20f
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
