This commit is contained in:
Iván Todorovich
2016-08-18 13:51:45 -03:00
committed by BT-aestebanez
parent 2d32a42584
commit a44971e2e8

View File

@@ -31,6 +31,7 @@ openerp.web_group_expand = function(openerp) {
}, },
load_expand_buttons:function() { load_expand_buttons:function() {
var self = this; var self = this;
this.$el.find("ul#oe_group_by").remove();
this.$ExpandButtons = $(QWeb.render("GroupExpand.Buttons", {'widget':self})); this.$ExpandButtons = $(QWeb.render("GroupExpand.Buttons", {'widget':self}));
this.$el.find("ul.oe_view_manager_switch.oe_button_group.oe_right").before(this.$ExpandButtons); this.$el.find("ul.oe_view_manager_switch.oe_button_group.oe_right").before(this.$ExpandButtons);
}, },
@@ -41,4 +42,4 @@ openerp.web_group_expand = function(openerp) {
return res return res
}, },
}) })
} }