Browse Source

[FIX] assign id on row in order to find it back in all cases

pull/295/head
Holger Brunn 9 years ago
parent
commit
9dc1b03852
  1. 2
      web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js

2
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;

Loading…
Cancel
Save