From 18e1ecd019c0be8c5cb2739de5d5a45b8be92bbb Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Thu, 17 Nov 2016 16:42:22 +0100 Subject: [PATCH 1/2] [FIX] website: stop making parallax content disappear on save Depending on the context, the s_parallax snippet content was not showing after save. This was because the HTML is prettyfied on save and so spaces are inserted around the .oe_structure, making it break over the next line. This commit removed the vertical middle alignment of the .oe_structure block (so back like it was before v10.0), allowing to fix the problem. --- .../website/static/src/less/website.snippets.less | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/addons/website/static/src/less/website.snippets.less b/addons/website/static/src/less/website.snippets.less index fd8a4d5073d..7b941acda2f 100644 --- a/addons/website/static/src/less/website.snippets.less +++ b/addons/website/static/src/less/website.snippets.less @@ -406,21 +406,6 @@ div.carousel { .s_parallax { min-height: 200px; - - > .oe_structure { - display: inline-block; - width: 100%; - vertical-align: middle; - } - - &::before { - content: ""; - display: inline-block; - width: 0; - min-height: inherit; - height: 100%; - vertical-align: middle; - } } .s_big_message { // TO REMOVE IN MASTER > 10.0 From fb773091d8798ae409e3b1964f0d918955df47ab Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 17 Nov 2016 17:23:20 +0100 Subject: [PATCH 2/2] [FIX] project: Correct tour Remove useless step as we are already in edit mode after clicking on edit action link --- addons/project/static/src/js/tour.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/addons/project/static/src/js/tour.js b/addons/project/static/src/js/tour.js index 22bf66976e1..32024e4f3cb 100644 --- a/addons/project/static/src/js/tour.js +++ b/addons/project/static/src/js/tour.js @@ -61,11 +61,6 @@ tour.register('project_tour', { run: function (actions) { actions.auto(".o_kanban_record .oe_kanban_action[data-type=edit]"); }, -}, { - trigger: ".o_form_button_edit", - extra_trigger: '.o_form_project_tasks', - content: _t('Click on this button to modify the task.'), - position: "bottom" }, { trigger: ".o_form_field.o_task_user_field", extra_trigger: '.o_form_project_tasks.o_form_editable',