[IMP] update aggregates when deleting a record

bzr revid: xmo@openerp.com-20110725091506-h4u4kp3ut8h0a6vc
This commit is contained in:
Xavier Morel 2011-07-25 11:15:06 +02:00
parent 2a2d924688
commit 2e9f2f138b
1 changed files with 1 additions and 0 deletions

View File

@ -477,6 +477,7 @@ openerp.base.ListView = openerp.base.View.extend( /** @lends openerp.base.ListVi
var self = this;
return $.when(this.dataset.unlink(ids)).then(function () {
self.groups.drop_records(ids);
self.compute_aggregates();
});
},
/**