Browse Source

[FIX] Error when using the Quick Create on many2many_tags_multiselection widget

pull/1161/head
Maxence Groine 7 years ago
committed by Pedro M. Baeza
parent
commit
f89e2b18ad
  1. 2
      web_widget_many2many_tags_multi_selection/__manifest__.py
  2. 2
      web_widget_many2many_tags_multi_selection/static/src/js/view_form.js

2
web_widget_many2many_tags_multi_selection/__manifest__.py

@ -2,7 +2,7 @@
{ {
'name': 'Tags multiple selection', 'name': 'Tags multiple selection',
'version': '11.0.1.0.0',
'version': '11.0.1.0.1',
'author': 'Akretion, Odoo Community Association (OCA), Jamin Shah', 'author': 'Akretion, Odoo Community Association (OCA), Jamin Shah',
'depends': [ 'depends': [
'web', 'web',

2
web_widget_many2many_tags_multi_selection/static/src/js/view_form.js

@ -19,7 +19,7 @@ odoo.define('web_widget_many2many_tags_multi_selection.multiple_tags', function
} }
} }
new dialogs.SelectCreateDialog(self, _.extend({}, self.nodeOptions, {
return new dialogs.SelectCreateDialog(self, _.extend({}, self.nodeOptions, {
res_model: self.field.relation, res_model: self.field.relation,
domain: domain, domain: domain,
context: _.extend({}, self.record.getContext(self.recordParams), context || {}), context: _.extend({}, self.record.getContext(self.recordParams), context || {}),

Loading…
Cancel
Save