[IMP] Improved mixin name

This commit is contained in:
tarteo
2016-11-10 21:14:27 +01:00
parent 33dc884c58
commit 7fa82a1a86

View File

@@ -4,7 +4,7 @@ odoo.define('web_x2many_delete_all', function (require) {
var _t = core._t;
var DeleteAllMixin = {
var X2ManyListDeleteAllMixin = {
events: {
'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 one2many = core.form_widget_registry.get('one2many');
many2many.include(DeleteAllMixin);
one2many.include(DeleteAllMixin);
many2many.include(X2ManyListDeleteAllMixin);
one2many.include(X2ManyListDeleteAllMixin);
});