Browse Source

Merge pull request #1174 from brainbeanapps/12.0-fix-web_widget_x2many_2d_matrix-total_cell_calculation

[12.0][FIX] web_widget_x2many_2d_matrix: total cell calculation
pull/1179/head
Simone Orsi 5 years ago
committed by GitHub
parent
commit
9a7a9fd769
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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