Browse Source

[FIX] also reinitialize totals

pull/96/head
Holger Brunn 10 years ago
parent
commit
5f1ebff3c8
  1. 2
      web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js

2
web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js

@ -146,6 +146,8 @@ openerp.web_widget_x2many_2d_matrix = function(instance)
if(self.is_started && !self.no_rerender) if(self.is_started && !self.no_rerender)
{ {
self.renderElement(); self.renderElement();
self.compute_totals();
self.setup_many2one_axes();
self.$el.find('.edit').on( self.$el.find('.edit').on(
'change', self.proxy(self.xy_value_change)); 'change', self.proxy(self.xy_value_change));
self.effective_readonly_change(); self.effective_readonly_change();

Loading…
Cancel
Save