[IMP] account: allow to filter by account code in reconciliation widget

Task 1945477

closes odoo/odoo#31589

Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
This commit is contained in:
wan
2019-03-12 10:18:22 +00:00
committed by Cedric Snauwaert
parent 5ee9e1d200
commit 54a5fc7302
@@ -419,6 +419,7 @@ class AccountReconciliation(models.AbstractModel):
def _str_domain_for_mv_line(self, search_str):
return [
'|', ('account_id.code', 'ilike', search_str),
'|', ('move_id.name', 'ilike', search_str),
'|', ('move_id.ref', 'ilike', search_str),
'|', ('date_maturity', 'like', search_str),