Browse Source

[FIX] support rerendering after virtual ids change

this is necessary for correct operation after creating new records
pull/1106/head
Holger Brunn 10 years ago
committed by Jairo Llopis
parent
commit
e3f3a55e05
  1. 7
      web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js

7
web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js

@ -143,6 +143,13 @@ openerp.web_widget_x2many_2d_matrix = function(instance)
});
}));
})
if(self.is_started && !self.no_rerender)
{
self.renderElement();
self.$el.find('.edit').on(
'change', self.proxy(self.xy_value_change));
self.effective_readonly_change();
}
return jQuery.when.apply(jQuery, deferrends);
});
});

Loading…
Cancel
Save