From 61eef73b52c078daaae37f8d57e93830a2e53410 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 26 Jul 2018 09:55:01 +0200 Subject: [IMP] base, *: use a many2one for the company report layout Before this rev. one could set the report layout on the company using a hardcoded list (background, clean, standard, etc.). Other modules (typically accounting modules) could add options in this list. The used template was built on the layout key. Now, the layout is a many2one field to a newly created model `report.layout`, which is linked to a view with the layout architecture. This gives more control to customize reports and create a new layout (without creating a python module that extend the layout selection). --- addons/web/security/ir.model.access.csv | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 addons/web/security/ir.model.access.csv (limited to 'addons/web/security') diff --git a/addons/web/security/ir.model.access.csv b/addons/web/security/ir.model.access.csv new file mode 100644 index 00000000000..fb9c59d7b89 --- /dev/null +++ b/addons/web/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_layout,access_report_layout,model_report_layout,,1,1,1,1 -- cgit v1.2.3