From 6ca0a9ad2a88677ba361f6c91177ce5df3872d65 Mon Sep 17 00:00:00 2001 From: Sebastian Kennedy Date: Tue, 14 Nov 2017 12:30:48 -0300 Subject: [PATCH] [FIX] this.boolean_field_value added in init func --- .../static/src/js/web_widget_x2many_2d_matrix.js | 1 + 1 file changed, 1 insertion(+) 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 520306a3..a10f00a0 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 @@ -44,6 +44,7 @@ openerp.web_widget_x2many_2d_matrix = function(instance) this.field_label_x_axis = node.attrs.field_label_x_axis || this.field_x_axis; this.field_label_y_axis = node.attrs.field_label_y_axis || this.field_y_axis; this.field_value = node.attrs.field_value || this.field_value; + this.boolean_field_value = node.attrs.boolean_field_value || this.boolean_field_value; for (var property in node.attrs) { if (property.startsWith("field_att_")) { this.fields_att[property.substring(10)] = node.attrs[property];