From 3ebf46fcc0ca048fcc1d433a073b94e64fb7049c Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 28 Apr 2016 12:37:18 +0200 Subject: [PATCH] [IMP] base: add a constraint on ir.ui.view to avoid groups on template Template arch can contrains "groups" attributes on the html tag but can't have group_id setted. (to allow a cache per template and lang instead of a cache per template, user and lang) --- addons/sale/views/report_invoice_layouted.xml | 18 ++++++++++++------ .../report/report_stockpicking_operations.xml | 4 +++- .../website/views/website_backend_navbar.xml | 8 ++++---- .../views/website_blog_templates.xml | 4 ++-- .../views/website_event_templates.xml | 4 ++-- addons/website_forum/views/website_forum.xml | 4 ++-- .../website_hr_recruitment/views/templates.xml | 4 ++-- addons/website_sale/views/templates.xml | 4 ++-- addons/website_sale_stock/views/templates.xml | 5 ----- openerp/addons/base/ir/ir_ui_view.py | 7 +++++++ 10 files changed, 36 insertions(+), 26 deletions(-) diff --git a/addons/sale/views/report_invoice_layouted.xml b/addons/sale/views/report_invoice_layouted.xml index 19801d28492..037298e3aad 100644 --- a/addons/sale/views/report_invoice_layouted.xml +++ b/addons/sale/views/report_invoice_layouted.xml @@ -1,9 +1,12 @@ -