From cd12832f9e3b75c524855a9ea808dd3dab5e6472 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Wed, 15 Jan 2014 16:25:26 +0100 Subject: [PATCH] [IMP] product: Service (product.product_product_consultant) is sale_ok=False by default and overwrite in hr_timesheet to True bzr revid: chm@openerp.com-20140115152526-dptyljv7yxdkmis0 --- addons/hr_timesheet/hr_timesheet_data.xml | 4 ++++ addons/product/product_data.xml | 1 + addons/website/static/src/js/website.snippets.editor.js | 2 ++ 3 files changed, 7 insertions(+) diff --git a/addons/hr_timesheet/hr_timesheet_data.xml b/addons/hr_timesheet/hr_timesheet_data.xml index 1cdc23d301f..db324ab0ffd 100644 --- a/addons/hr_timesheet/hr_timesheet_data.xml +++ b/addons/hr_timesheet/hr_timesheet_data.xml @@ -12,5 +12,9 @@ + + True + + diff --git a/addons/product/product_data.xml b/addons/product/product_data.xml index 517f46a94c1..ee58181ec37 100644 --- a/addons/product/product_data.xml +++ b/addons/product/product_data.xml @@ -198,6 +198,7 @@ parameter) will see those record just disappear. Service service + False diff --git a/addons/website/static/src/js/website.snippets.editor.js b/addons/website/static/src/js/website.snippets.editor.js index 5b89868cd2d..cdaee863c61 100644 --- a/addons/website/static/src/js/website.snippets.editor.js +++ b/addons/website/static/src/js/website.snippets.editor.js @@ -954,6 +954,8 @@ clean_for_save: function () { this.$target.removeAttr('contentEditable') .find('*').removeAttr('contentEditable'); + this.$target.removeAttr('attributeEditable') + .find('*').removeAttr('attributeEditable'); }, });