From 70306c63e358ae7d8d9c196597df0144cb626723 Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Mon, 24 Sep 2018 17:54:20 +0200 Subject: [PATCH] [FIX] website: create `ir.ui.view`/`website.page` in the same record Somehow, having theses 2 new `website.page` records created separately from their `ir.ui.view` would throw an error in dev-xml when installing website module. A task has been created in website team to track the origin of this bug. In the meantime, this commit will avoid the traceback by creating the view inside the page record. As the page's view is not intented to be inherited, it is the best way to write it anyway. --- addons/website/data/website_demo.xml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/addons/website/data/website_demo.xml b/addons/website/data/website_demo.xml index be980571068..6eeab11eb95 100644 --- a/addons/website/data/website_demo.xml +++ b/addons/website/data/website_demo.xml @@ -17,8 +17,10 @@ - + BS Debug + /demo/bs-debug + False qweb website.bs_debug_page_view @@ -274,16 +276,13 @@ - - /demo/bs-debug - False - - - + Snippet Debug + /demo/snippets-debug + False qweb website.snippets_debug_page_view @@ -314,10 +313,5 @@ - - /demo/snippets-debug - False - -