fix: do not allow plant floor company and warehouse to be updated

(cherry picked from commit fd72132743)

# Conflicts:
#	erpnext/manufacturing/doctype/plant_floor/plant_floor.json
This commit is contained in:
Mihir Kandoi
2026-02-17 11:54:12 +05:30
committed by Mergify
parent e3a2b310d8
commit d6333c1562

View File

@@ -49,7 +49,8 @@
"fieldname": "warehouse", "fieldname": "warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Warehouse", "label": "Warehouse",
"options": "Warehouse" "options": "Warehouse",
"set_only_once": 1
}, },
{ {
"depends_on": "eval:!doc.__islocal && doc.warehouse", "depends_on": "eval:!doc.__islocal && doc.warehouse",
@@ -66,13 +67,18 @@
"fieldname": "company", "fieldname": "company",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Company", "label": "Company",
"options": "Company" "options": "Company",
"set_only_once": 1
} }
], ],
"hide_toolbar": 1, "hide_toolbar": 1,
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
<<<<<<< HEAD
"modified": "2024-09-19 19:06:36.481625", "modified": "2024-09-19 19:06:36.481625",
=======
"modified": "2026-02-17 11:53:17.940039",
>>>>>>> fd72132743 (fix: do not allow plant floor company and warehouse to be updated)
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Manufacturing", "module": "Manufacturing",
"name": "Plant Floor", "name": "Plant Floor",
@@ -92,7 +98,12 @@
"write": 1 "write": 1
} }
], ],
<<<<<<< HEAD
"sort_field": "modified", "sort_field": "modified",
=======
"row_format": "Dynamic",
"sort_field": "creation",
>>>>>>> fd72132743 (fix: do not allow plant floor company and warehouse to be updated)
"sort_order": "DESC", "sort_order": "DESC",
"states": [] "states": []
} }