[IMP] pass computed totals to inheriting function

pull/2756/head
Holger Brunn 2015-03-13 17:44:41 +01:00 committed by SodexisTeam
parent 7a180b0b04
commit 4abba5c830
1 changed files with 5 additions and 0 deletions

View File

@ -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,
};
}); });
}, },