fix: hide subcontracted qty field if PO is not subcontracted

(cherry picked from commit 6e8521d761)
This commit is contained in:
Mihir Kandoi
2025-03-13 17:28:48 +05:30
committed by Mergify
parent 99f59c0410
commit 62feec5cc3

View File

@@ -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
}
}