refactor: unnecessary joining of lists
This commit is contained in:
parent
fab7a58056
commit
2d76c05175
@ -547,10 +547,7 @@ def get_columns(filters):
|
||||
"fieldname": "balance",
|
||||
"fieldtype": "Float",
|
||||
"width": 130
|
||||
}
|
||||
]
|
||||
|
||||
columns.extend([
|
||||
},
|
||||
{
|
||||
"label": _("Voucher Type"),
|
||||
"fieldname": "voucher_type",
|
||||
@ -584,7 +581,7 @@ def get_columns(filters):
|
||||
"fieldname": "project",
|
||||
"width": 100
|
||||
}
|
||||
])
|
||||
]
|
||||
|
||||
if filters.get("include_dimensions"):
|
||||
for dim in get_accounting_dimensions(as_list = False):
|
||||
|
Loading…
Reference in New Issue
Block a user