Browse Source

[FIX] also reinitialize totals

pull/1106/head
Holger Brunn 10 years ago
committed by Jairo Llopis
parent
commit
8ff5229112
  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