diff --git a/aumms/aumms_manufacturing/doctype/jewellery_job_card/jewellery_job_card.json b/aumms/aumms_manufacturing/doctype/jewellery_job_card/jewellery_job_card.json index 03adba23..3429c31b 100644 --- a/aumms/aumms_manufacturing/doctype/jewellery_job_card/jewellery_job_card.json +++ b/aumms/aumms_manufacturing/doctype/jewellery_job_card/jewellery_job_card.json @@ -260,12 +260,13 @@ { "fieldname": "expected_execution_time", "fieldtype": "Float", - "label": "Expected Execution Time" + "label": "Expected Execution Time", + "precision": "2" } ], "is_submittable": 1, "links": [], - "modified": "2024-05-07 11:34:51.805182", + "modified": "2024-05-08 09:41:41.588131", "modified_by": "Administrator", "module": "AuMMS Manufacturing", "name": "Jewellery Job Card", diff --git a/aumms/aumms_manufacturing/doctype/manufacturing_request/manufacturing_request.json b/aumms/aumms_manufacturing/doctype/manufacturing_request/manufacturing_request.json index f020d946..75508dbb 100644 --- a/aumms/aumms_manufacturing/doctype/manufacturing_request/manufacturing_request.json +++ b/aumms/aumms_manufacturing/doctype/manufacturing_request/manufacturing_request.json @@ -139,6 +139,7 @@ { "allow_on_submit": 1, "default": "0", + "depends_on": "eval:doc.request_from == \"Jewellery Order\"", "fieldname": "finished", "fieldtype": "Check", "label": "Finished", @@ -236,6 +237,7 @@ }, { "default": "0", + "depends_on": "eval:doc.request_from == \"Jewellery Order\"", "fieldname": "keep_metal_ledger", "fieldtype": "Check", "label": "Keep Metal Ledger" @@ -278,4 +280,4 @@ "sort_order": "DESC", "states": [], "title_field": "title" -} \ No newline at end of file +}