Browse Source

[IMP] pass computed totals to inheriting function

pull/871/head
Holger Brunn 10 years ago
committed by Simone Orsi
parent
commit
6cc4fe601f
  1. 5
      web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js

5
web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js

@ -259,6 +259,11 @@ openerp.web_widget_x2many_2d_matrix = function(instance)
}); });
self.$el.find('.grand_total').text( self.$el.find('.grand_total').text(
self.format_xy_value(grand_total)) self.format_xy_value(grand_total))
return {
totals_x: totals_x,
totals_y: totals_y,
grand_total: grand_total,
};
}); });
}, },

Loading…
Cancel
Save