fix: wrong currency on financial-statement based reports (#36524)
* add missing field options on financial_statement Total field * format financial statement code
This commit is contained in:
parent
3c7702c53c
commit
ce25f9e8c9
@ -637,7 +637,13 @@ def get_columns(periodicity, period_list, accumulated_values=1, company=None):
|
||||
if periodicity != "Yearly":
|
||||
if not accumulated_values:
|
||||
columns.append(
|
||||
{"fieldname": "total", "label": _("Total"), "fieldtype": "Currency", "width": 150}
|
||||
{
|
||||
"fieldname": "total",
|
||||
"label": _("Total"),
|
||||
"fieldtype": "Currency",
|
||||
"width": 150,
|
||||
"options": "currency",
|
||||
}
|
||||
)
|
||||
|
||||
return columns
|
||||
|
Loading…
x
Reference in New Issue
Block a user