From dfebe2f51d1fc3d9788c8ae43ca4c01895bac0cf Mon Sep 17 00:00:00 2001 From: wan Date: Tue, 26 Feb 2019 10:00:04 +0000 Subject: [PATCH] [IMP] account: filter aml on posted by default Task 193992 The changes in account asset generate a lot of unposted aml in the future rendering hiding them by default necessary closes odoo/odoo#31361 Signed-off-by: Quentin De Paoli (qdp) --- addons/account/views/account_move_views.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index faecd55cb87..4f260ced3f5 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -194,7 +194,7 @@ - Journal Items + account.move.line.search account.move.line @@ -449,7 +449,7 @@ view_id="account.view_move_line_tax_audit_tree"/> - {'journal_type':'general'} + {'journal_type':'general', 'search_default_group_by_move': 1, 'search_default_posted':1} Journal Items account.move.line @@ -459,7 +459,7 @@ Journal Items account.move.line - {'search_default_partner_id': [active_id], 'default_partner_id': active_id} + {'search_default_partner_id': [active_id], 'default_partner_id': active_id, 'search_default_posted':1}