feat: Add non-negative constraint to completed qty fields in job card and time log

This commit is contained in:
KerollesFathy
2025-08-04 12:58:49 +00:00
parent 02380c3eab
commit c30665fda7
2 changed files with 5 additions and 3 deletions

View File

@@ -182,6 +182,7 @@
"fieldtype": "Float",
"in_preview": 1,
"label": "Total Completed Qty",
"non_negative": 1,
"read_only": 1
},
{
@@ -624,7 +625,7 @@
"grid_page_length": 50,
"is_submittable": 1,
"links": [],
"modified": "2025-03-30 18:53:38.206399",
"modified": "2025-08-04 15:47:54.514290",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "Job Card",

View File

@@ -45,7 +45,8 @@
"fieldname": "completed_qty",
"fieldtype": "Float",
"in_list_view": 1,
"label": "Completed Qty"
"label": "Completed Qty",
"non_negative": 1
},
{
"fieldname": "employee",
@@ -67,7 +68,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2025-03-25 20:05:13.807905",
"modified": "2025-08-04 15:47:11.748937",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "Job Card Time Log",