mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 05:32:46 +01:00
fix: change field-type to remove currency field from total row in export
This commit is contained in:
@@ -182,14 +182,7 @@ def get_columns(earning_types, ded_types):
|
||||
"fieldname": "payment_days",
|
||||
"fieldtype": "Float",
|
||||
"width": 120,
|
||||
},
|
||||
{
|
||||
"label": _("Currency"),
|
||||
"fieldname": "currency",
|
||||
"fieldtype": "Link",
|
||||
"options": "Currency",
|
||||
"hidden": 1,
|
||||
},
|
||||
}
|
||||
]
|
||||
|
||||
for earning in earning_types:
|
||||
@@ -247,6 +240,13 @@ def get_columns(earning_types, ded_types):
|
||||
"options": "currency",
|
||||
"width": 120,
|
||||
},
|
||||
{
|
||||
"label": _("Currency"),
|
||||
"fieldname": "currency",
|
||||
"fieldtype": "Data",
|
||||
"options": "Currency",
|
||||
"hidden": 1,
|
||||
},
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user