mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] update readonly value after editing
This commit is contained in:
committed by
Simone Orsi
parent
3abe635c64
commit
9590e24f5a
@@ -305,6 +305,8 @@ openerp.web_widget_x2many_2d_matrix = function(instance)
|
|||||||
{
|
{
|
||||||
data = {}
|
data = {}
|
||||||
data[self.field_value] = self.parse_xy_value(val);
|
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);
|
self.dataset.write($this.data('id'), data);
|
||||||
$this.parent().removeClass('oe_form_invalid');
|
$this.parent().removeClass('oe_form_invalid');
|
||||||
self.compute_totals();
|
self.compute_totals();
|
||||||
|
|||||||
Reference in New Issue
Block a user