mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-05 05:03:36 +02:00
fix: change fieldname for cash_flow to export (#46353)
fix: change fieldname for cash_flow
Co-authored-by: Sanket322 <shahsanket322003.com>
(cherry picked from commit 606dcb0ad1)
Co-authored-by: Sanket Shah <113279972+Sanket322@users.noreply.github.com>
This commit is contained in:
@@ -630,7 +630,7 @@ def get_cost_centers_with_children(cost_centers):
|
|||||||
def get_columns(periodicity, period_list, accumulated_values=1, company=None, cash_flow=False):
|
def get_columns(periodicity, period_list, accumulated_values=1, company=None, cash_flow=False):
|
||||||
columns = [
|
columns = [
|
||||||
{
|
{
|
||||||
"fieldname": "account",
|
"fieldname": "account" if not cash_flow else "section",
|
||||||
"label": _("Account") if not cash_flow else _("Section"),
|
"label": _("Account") if not cash_flow else _("Section"),
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"options": "Account",
|
"options": "Account",
|
||||||
|
|||||||
Reference in New Issue
Block a user