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
This commit is contained in:
Simone Orsi
2019-02-05 08:24:09 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

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

View File

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