Browse Source

Comment on fixed trickery

pull/325/head
Peter Hahn 9 years ago
parent
commit
cd3f92c69c
  1. 1
      web_widget_one2many_tags/static/src/js/web_widget_one2many_tags.js

1
web_widget_one2many_tags/static/src/js/web_widget_one2many_tags.js

@ -82,6 +82,7 @@ openerp.web_widget_one2many_tags = function(instance)
init: function () {
this._super.apply(this, arguments);
// Treat it as many2many to trick odoo into populating '__display'.
// note: this has been fixed in core OCB recently
this.type = 'many2many';
},
});

Loading…
Cancel
Save