[IMP] update aggregates when deleting a record
bzr revid: xmo@openerp.com-20110725091506-h4u4kp3ut8h0a6vc
This commit is contained in:
parent
2a2d924688
commit
2e9f2f138b
|
@ -477,6 +477,7 @@ openerp.base.ListView = openerp.base.View.extend( /** @lends openerp.base.ListVi
|
||||||
var self = this;
|
var self = this;
|
||||||
return $.when(this.dataset.unlink(ids)).then(function () {
|
return $.when(this.dataset.unlink(ids)).then(function () {
|
||||||
self.groups.drop_records(ids);
|
self.groups.drop_records(ids);
|
||||||
|
self.compute_aggregates();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue