Browse Source

[IMP] Improved mixin name

pull/477/head
tarteo 8 years ago
parent
commit
7fa82a1a86
  1. 6
      web_x2many_delete_all/static/src/js/web_x2many_delete_all.js

6
web_x2many_delete_all/static/src/js/web_x2many_delete_all.js

@ -4,7 +4,7 @@ odoo.define('web_x2many_delete_all', function (require) {
var _t = core._t; var _t = core._t;
var DeleteAllMixin = {
var X2ManyListDeleteAllMixin = {
events: { events: {
'click th.o_list_record_delete': 'btn_delete_all_clicked' 'click th.o_list_record_delete': 'btn_delete_all_clicked'
}, },
@ -24,6 +24,6 @@ odoo.define('web_x2many_delete_all', function (require) {
var many2many = core.form_widget_registry.get('many2many'); var many2many = core.form_widget_registry.get('many2many');
var one2many = core.form_widget_registry.get('one2many'); var one2many = core.form_widget_registry.get('one2many');
many2many.include(DeleteAllMixin);
one2many.include(DeleteAllMixin);
many2many.include(X2ManyListDeleteAllMixin);
one2many.include(X2ManyListDeleteAllMixin);
}); });
Loading…
Cancel
Save