Browse Source

[FIX] web_widget_x2many_2d_matrix: total cell calculation

pull/1174/head
Alexey Pelykh 6 years ago
parent
commit
6ca36a4b36
  1. 2
      web_widget_x2many_2d_matrix/__manifest__.py
  2. 2
      web_widget_x2many_2d_matrix/static/src/js/2d_matrix_renderer.js

2
web_widget_x2many_2d_matrix/__manifest__.py

@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{ {
'name': '2D matrix for x2many fields', 'name': '2D matrix for x2many fields',
'version': '12.0.1.0.1',
'version': '12.0.1.0.2',
'author': ( 'author': (
'Therp BV, ' 'Therp BV, '
'Tecnativa, ' 'Tecnativa, '

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

@ -417,7 +417,7 @@ odoo.define('web_widget_x2many_2d_matrix.X2Many2dMatrixRenderer', function (requ
// Nothing to do // Nothing to do
} }
}); });
this.total.value += column.aggregate.value;
this.total.aggregate.value += column.aggregate.value;
}.bind(this)); }.bind(this));
}, },

Loading…
Cancel
Save