From b2eafca067b71f45864d543d0ebede37e2c25e26 Mon Sep 17 00:00:00 2001 From: Joren Van Onder Date: Thu, 2 Jul 2015 11:43:49 +0200 Subject: [REF] web_planner: refactor to make less brittle and reliant on layout This introduces a new way to define web_planners. They now take the following form: The menu is not manually created anymore, it is automatically generated. Pages do not have to be part of a category and can just be defined as children of web_planner.pages. A page can have hide_mark_as_done and hide_from_menu, these are optional and will both default to False when omitted. --- addons/web_planner/static/src/xml/web_planner.xml | 71 +++++++++-------------- 1 file changed, 29 insertions(+), 42 deletions(-) (limited to 'addons/web_planner/static/src/xml') diff --git a/addons/web_planner/static/src/xml/web_planner.xml b/addons/web_planner/static/src/xml/web_planner.xml index 11d06959a85..f426add4036 100644 --- a/addons/web_planner/static/src/xml/web_planner.xml +++ b/addons/web_planner/static/src/xml/web_planner.xml @@ -13,54 +13,41 @@ - -