mirror of https://github.com/OCA/web.git
commit
eb2290dc9f
|
@ -59,17 +59,13 @@ odoo.define("web_widget_x2many_2d_matrix.widget", function (require) {
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
this.show_row_totals = this.parse_boolean(
|
this.show_row_totals = Boolean(
|
||||||
node.show_row_totals ||
|
this.parse_boolean(node.show_row_totals || "1") &&
|
||||||
this.is_aggregatable(field_defs[this.field_value])
|
this.is_aggregatable(field_defs[this.field_value])
|
||||||
? "1"
|
|
||||||
: ""
|
|
||||||
);
|
);
|
||||||
this.show_column_totals = this.parse_boolean(
|
this.show_column_totals = Boolean(
|
||||||
node.show_column_totals ||
|
this.parse_boolean(node.show_column_totals || "1") &&
|
||||||
this.is_aggregatable(field_defs[this.field_value])
|
this.is_aggregatable(field_defs[this.field_value])
|
||||||
? "1"
|
|
||||||
: ""
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue