mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
fix: Delete old fields from cost center related to distributed cost center
This commit is contained in:
@@ -16,9 +16,6 @@
|
|||||||
"cb0",
|
"cb0",
|
||||||
"is_group",
|
"is_group",
|
||||||
"disabled",
|
"disabled",
|
||||||
"section_break_9",
|
|
||||||
"enable_distributed_cost_center",
|
|
||||||
"distributed_cost_center",
|
|
||||||
"lft",
|
"lft",
|
||||||
"rgt",
|
"rgt",
|
||||||
"old_parent"
|
"old_parent"
|
||||||
@@ -122,31 +119,13 @@
|
|||||||
"fieldname": "disabled",
|
"fieldname": "disabled",
|
||||||
"fieldtype": "Check",
|
"fieldtype": "Check",
|
||||||
"label": "Disabled"
|
"label": "Disabled"
|
||||||
},
|
|
||||||
{
|
|
||||||
"default": "0",
|
|
||||||
"fieldname": "enable_distributed_cost_center",
|
|
||||||
"fieldtype": "Check",
|
|
||||||
"label": "Enable Distributed Cost Center"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"depends_on": "eval:doc.is_group==0",
|
|
||||||
"fieldname": "section_break_9",
|
|
||||||
"fieldtype": "Section Break"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"depends_on": "enable_distributed_cost_center",
|
|
||||||
"fieldname": "distributed_cost_center",
|
|
||||||
"fieldtype": "Table",
|
|
||||||
"label": "Distributed Cost Center",
|
|
||||||
"options": "Distributed Cost Center"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"icon": "fa fa-money",
|
"icon": "fa fa-money",
|
||||||
"idx": 1,
|
"idx": 1,
|
||||||
"is_tree": 1,
|
"is_tree": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2020-06-17 16:09:30.025214",
|
"modified": "2022-01-31 13:22:58.916273",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Cost Center",
|
"name": "Cost Center",
|
||||||
@@ -189,5 +168,6 @@
|
|||||||
"search_fields": "parent_cost_center, is_group",
|
"search_fields": "parent_cost_center, is_group",
|
||||||
"show_name_in_global_search": 1,
|
"show_name_in_global_search": 1,
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "ASC"
|
"sort_order": "ASC",
|
||||||
|
"states": []
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user