From 204f9d36054005d38b6fa8659a74ef475164302e Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Wed, 2 Mar 2016 16:24:54 +0100 Subject: [PATCH] [FIX] account: taxes configuration, default filter instead of domain Convert the domain to display only the sale / purchase taxes in the taxes list to a default filter doing the same thing, but which give the possibility to remove the filter and see taxes with the scope `None`. opw-670737 --- addons/account/views/account_view.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/account/views/account_view.xml b/addons/account/views/account_view.xml index 326970f59cb..1f681256ef2 100644 --- a/addons/account/views/account_view.xml +++ b/addons/account/views/account_view.xml @@ -878,8 +878,8 @@ - - + + @@ -954,7 +954,8 @@ account.tax form tree,form - [('type_tax_use', '!=', 'none')] + + {'search_default_sale': True, 'search_default_purchase': True}