fix: make Material Request Item required if Material Request is set in PO (backport #37928) (#37936)

fix: make `Material Request Item` required if `Material Request` is set in PO

(cherry picked from commit a9d91189b0)

Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
This commit is contained in:
mergify[bot]
2023-11-06 17:26:37 +05:30
committed by GitHub
parent 4de97a4fcb
commit c87012046d

View File

@@ -471,6 +471,7 @@
"fieldname": "material_request", "fieldname": "material_request",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Material Request", "label": "Material Request",
"mandatory_depends_on": "eval: doc.material_request_item",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "prevdoc_docname", "oldfieldname": "prevdoc_docname",
"oldfieldtype": "Link", "oldfieldtype": "Link",
@@ -486,6 +487,7 @@
"fieldtype": "Data", "fieldtype": "Data",
"hidden": 1, "hidden": 1,
"label": "Material Request Item", "label": "Material Request Item",
"mandatory_depends_on": "eval: doc.material_request",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "prevdoc_detail_docname", "oldfieldname": "prevdoc_detail_docname",
"oldfieldtype": "Data", "oldfieldtype": "Data",
@@ -915,7 +917,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"istable": 1, "istable": 1,
"links": [], "links": [],
"modified": "2023-10-27 15:50:42.655573", "modified": "2023-11-06 11:00:53.596417",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Purchase Order Item", "name": "Purchase Order Item",