[FIX]Fixed the issue of last element of grouped row removed, due to which grouped...
authorMohammed Shekha <msh@openerp.com>
Wed, 3 Jul 2013 13:12:23 +0000 (18:42 +0530)
committerMohammed Shekha <msh@openerp.com>
Wed, 3 Jul 2013 13:12:23 +0000 (18:42 +0530)
bzr revid: msh@openerp.com-20130703131223-bwu6hl8v5y5sjt5w

addons/web/static/src/js/view_list.js

index 74c2fc4..a9f110e 100644 (file)
@@ -1280,7 +1280,8 @@ instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.we
         }
     },
     close: function () {
-        this.$row.children().last().empty();
+        this.$row.children().last().find('button').remove();
+        this.$row.children().last().find('span').remove();
         this.records.reset();
     },
     /**