Browse Source

[FIX] this.boolean_field_value added in init func

pull/487/head
Sebastian Kennedy 7 years ago
parent
commit
6ca0a9ad2a
  1. 1
      web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js

1
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_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_label_y_axis = node.attrs.field_label_y_axis || this.field_y_axis;
this.field_value = node.attrs.field_value || this.field_value; 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) { for (var property in node.attrs) {
if (property.startsWith("field_att_")) { if (property.startsWith("field_att_")) {
this.fields_att[property.substring(10)] = node.attrs[property]; this.fields_att[property.substring(10)] = node.attrs[property];

Loading…
Cancel
Save