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

(cherry picked from commit fd72132743)
This commit is contained in:
Mihir Kandoi
2026-02-17 11:54:12 +05:30
committed by Mergify
parent cf141045ba
commit a039c176c8

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,14 @@
"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": [],
"modified": "2024-09-25 10:27:41.139634", "modified": "2026-02-17 11:53:17.940039",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Manufacturing", "module": "Manufacturing",
"name": "Plant Floor", "name": "Plant Floor",
@@ -92,7 +94,8 @@
"write": 1 "write": 1
} }
], ],
"row_format": "Dynamic",
"sort_field": "creation", "sort_field": "creation",
"sort_order": "DESC", "sort_order": "DESC",
"states": [] "states": []
} }