From bdb787a18dec45809b67c0f22e0705d2404eed83 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Wed, 4 Nov 2015 10:28:07 +0100 Subject: [PATCH] [FIX] web_editor: value changes of many2one in the website enable the save button --- addons/web_editor/static/src/js/snippets.options.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web_editor/static/src/js/snippets.options.js b/addons/web_editor/static/src/js/snippets.options.js index a6f7368fb6c..04477f3b768 100644 --- a/addons/web_editor/static/src/js/snippets.options.js +++ b/addons/web_editor/static/src/js/snippets.options.js @@ -504,6 +504,7 @@ var many2one = Option.extend({ this.$target.attr('data-oe-many2one-id', this.ID).data('oe-many2one-id', this.ID); this.buildingBlock.parent.rte.historyRecordUndo(this.$target); + this.$target.trigger('content_changed'); if (self.$target.data('oe-type') === "contact") { $('[data-oe-contact-options]')