diff --git a/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json b/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json index 894c705dc96..4473d021635 100644 --- a/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json +++ b/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json @@ -913,6 +913,7 @@ }, { "allow_on_submit": 1, + "depends_on": "eval:parent.is_subcontracted && !parent.is_old_subcontracting_flow", "fieldname": "subcontracted_quantity", "fieldtype": "Float", "label": "Subcontracted Quantity", @@ -926,7 +927,7 @@ "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2025-03-02 16:58:26.059601", + "modified": "2025-03-13 17:27:43.468602", "modified_by": "Administrator", "module": "Buying", "name": "Purchase Order Item", @@ -940,4 +941,4 @@ "sort_order": "DESC", "states": [], "track_changes": 1 -} \ No newline at end of file +}