diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-06-28 10:32:03 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-06-28 10:32:03 +0200 |
| commit | d112a163cdd15b09dee94d2b55a4455d7600c67c (patch) | |
| tree | e0d76ec19509e3605d61a4794cc6e0abea100fce /addons/web_editor/models/ir_qweb.py | |
| parent | 22c9d60ad36ddbf750f45ae883fb378b23b668eb (diff) | |
| parent | f6d36d81f7a601eb8902552d08915cb493d917f6 (diff) | |
[MERGE] forward port branch 11.0 up to f6d36d81f7a
Diffstat (limited to 'addons/web_editor/models/ir_qweb.py')
| -rw-r--r-- | addons/web_editor/models/ir_qweb.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_editor/models/ir_qweb.py b/addons/web_editor/models/ir_qweb.py index e9643a6545c..ec166471e86 100644 --- a/addons/web_editor/models/ir_qweb.py +++ b/addons/web_editor/models/ir_qweb.py @@ -173,6 +173,7 @@ class Contact(models.AbstractModel): @api.model def attributes(self, record, field_name, options, values): attrs = super(Contact, self).attributes(record, field_name, options, values) + options.pop('template_options') # remove options not specific to this widget attrs['data-oe-contact-options'] = json.dumps(options) return attrs |
