From 819514309b4ea28172e2f65d0e52899e453fcf60 Mon Sep 17 00:00:00 2001 From: Olivier Colson Date: Fri, 14 Jun 2019 15:13:23 +0000 Subject: [PATCH] [FIX] account: make tax report compatible with new multicompany implementation [IMP] account: make all tax report lines accessible in every company The former implementation, with a record rule, did not support the new multicompany implementation. Furthermore, making the tax reports accessible by every company whatever their contries is more consistent with the way other accounting reports work. closes odoo/odoo#34154 Signed-off-by: oco-odoo --- addons/account/security/account_security.xml | 7 ------- addons/account/views/account_tax_report_views.xml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/addons/account/security/account_security.xml b/addons/account/security/account_security.xml index fa998f922ea..34f80bf9c68 100644 --- a/addons/account/security/account_security.xml +++ b/addons/account/security/account_security.xml @@ -131,13 +131,6 @@ ['|',('company_id','=',False),('company_id', 'in', company_ids)] - - Tax report multi-company - - - [('country_id','=',user.company_id.country_id.id)] - - Invoice multi-company diff --git a/addons/account/views/account_tax_report_views.xml b/addons/account/views/account_tax_report_views.xml index 1860df8cc08..05e0ce00dac 100644 --- a/addons/account/views/account_tax_report_views.xml +++ b/addons/account/views/account_tax_report_views.xml @@ -60,6 +60,18 @@ + + account.tax.report.line.search + account.tax.report.line + + + + + + + + + Configure Tax Report ir.actions.act_window @@ -67,6 +79,7 @@ form tree,form + {'search_default_groupby_country': True}