diff --git a/web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js b/web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js index 06bb5d9c..438d52b7 100644 --- a/web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js +++ b/web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js @@ -175,6 +175,8 @@ openerp.web_widget_x2many_2d_matrix = function(instance) if(cached_row.id == row.id) { row = cached_row.values; + // new rows don't have that + row.id = cached_row.id; return false; } return true;