From 3fef559aac35edda51d57c4faf30e70bf7893047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Guillot?= Date: Wed, 2 Jan 2019 18:55:15 +0100 Subject: [PATCH] [IMP] add domain on partner_id field in account_move and account_move_line search views (#73) --- account_usability/account_view.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/account_usability/account_view.xml b/account_usability/account_view.xml index 2acf0cb..0e6eea0 100644 --- a/account_usability/account_view.xml +++ b/account_usability/account_view.xml @@ -329,6 +329,9 @@ module --> Name or Reference + + ['|', ('parent_id', '=', False), ('is_company', '=', True)] + @@ -377,6 +380,17 @@ module --> + + account_usability.account_move_search + account.move + + + + ['|', ('parent_id', '=', False), ('is_company', '=', True)] + + + + account.account.search account.account