mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
@@ -59,17 +59,13 @@ odoo.define("web_widget_x2many_2d_matrix.widget", function (require) {
|
||||
)
|
||||
);
|
||||
}
|
||||
this.show_row_totals = this.parse_boolean(
|
||||
node.show_row_totals ||
|
||||
this.show_row_totals = Boolean(
|
||||
this.parse_boolean(node.show_row_totals || "1") &&
|
||||
this.is_aggregatable(field_defs[this.field_value])
|
||||
? "1"
|
||||
: ""
|
||||
);
|
||||
this.show_column_totals = this.parse_boolean(
|
||||
node.show_column_totals ||
|
||||
this.show_column_totals = Boolean(
|
||||
this.parse_boolean(node.show_column_totals || "1") &&
|
||||
this.is_aggregatable(field_defs[this.field_value])
|
||||
? "1"
|
||||
: ""
|
||||
);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user