Browse Source
Merge pull request #1093 from hbrunn/8.0-web_widget_x2many_2d_matrix-phantomjs
fixup! [IMP] web_widget_x2many_2d_matrix: New option field_att_<name>
pull/410/merge
Pedro M. Baeza
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
web_widget_x2many_2d_matrix/static/src/js/web_widget_x2many_2d_matrix.js
|
@ -45,7 +45,7 @@ openerp.web_widget_x2many_2d_matrix = function(instance) |
|
|
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; |
|
|
for (var property in node.attrs) { |
|
|
for (var property in node.attrs) { |
|
|
if (property.startsWith("field_att_")) { |
|
|
|
|
|
|
|
|
if (property.indexOf("field_att_") === 0) { |
|
|
this.fields_att[property.substring(10)] = node.attrs[property]; |
|
|
this.fields_att[property.substring(10)] = node.attrs[property]; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|