Browse Source

[FIX] update readonly value after editing

pull/871/head
Holger Brunn 10 years ago
committed by Simone Orsi
parent
commit
9590e24f5a
  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

@ -305,6 +305,8 @@ openerp.web_widget_x2many_2d_matrix = function(instance)
{
data = {}
data[self.field_value] = self.parse_xy_value(val);
$this.siblings('span').text(
self.format_xy_value(self.parse_xy_value(val)));
self.dataset.write($this.data('id'), data);
$this.parent().removeClass('oe_form_invalid');
self.compute_totals();

Loading…
Cancel
Save