feat: Add non-negative constraint to workstation cost fields

This commit is contained in:
KerollesFathy
2025-07-13 12:44:09 +00:00
parent 25838ba9b0
commit a2bb557570

View File

@@ -74,6 +74,7 @@
"fieldname": "hour_rate_electricity",
"fieldtype": "Currency",
"label": "Electricity Cost",
"non_negative": 1,
"oldfieldname": "hour_rate_electricity",
"oldfieldtype": "Currency"
},
@@ -83,6 +84,7 @@
"fieldname": "hour_rate_consumable",
"fieldtype": "Currency",
"label": "Consumable Cost",
"non_negative": 1,
"oldfieldname": "hour_rate_consumable",
"oldfieldtype": "Currency"
},
@@ -96,6 +98,7 @@
"fieldname": "hour_rate_rent",
"fieldtype": "Currency",
"label": "Rent Cost",
"non_negative": 1,
"oldfieldname": "hour_rate_rent",
"oldfieldtype": "Currency"
},
@@ -105,6 +108,7 @@
"fieldname": "hour_rate_labour",
"fieldtype": "Currency",
"label": "Wages",
"non_negative": 1,
"oldfieldname": "hour_rate_labour",
"oldfieldtype": "Currency"
},
@@ -254,7 +258,7 @@
"idx": 1,
"image_field": "on_status_image",
"links": [],
"modified": "2024-09-26 13:41:12.279344",
"modified": "2025-07-13 14:34:49.637231",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "Workstation",
@@ -274,9 +278,10 @@
}
],
"quick_entry": 1,
"row_format": "Dynamic",
"show_name_in_global_search": 1,
"sort_field": "creation",
"sort_order": "ASC",
"states": [],
"track_changes": 1
}
}