fix: wrong currency on financial-statement based reports (#36524)
fix: wrong currency on financial-statement based reports (#36524)
* add missing field options on financial_statement Total field
* format financial statement code
(cherry picked from commit ce25f9e8c9)
Co-authored-by: Naufal Afif <naufalafif58@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user