fix: prevent saving negative quantity in BOM

(cherry picked from commit e52d83e756)
This commit is contained in:
iamkhanraheel
2025-06-16 16:17:15 +05:30
committed by Mergify
parent 323a91ddd7
commit 1c9032a4c2

View File

@@ -131,6 +131,7 @@
"fieldname": "quantity",
"fieldtype": "Float",
"label": "Quantity",
"non_negative": 1,
"oldfieldname": "quantity",
"oldfieldtype": "Currency",
"reqd": 1
@@ -637,7 +638,7 @@
"image_field": "image",
"is_submittable": 1,
"links": [],
"modified": "2024-06-03 16:24:47.518411",
"modified": "2025-06-16 16:13:22.497695",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "BOM",
@@ -670,6 +671,7 @@
"write": 1
}
],
"row_format": "Dynamic",
"search_fields": "item, item_name",
"show_name_in_global_search": 1,
"sort_field": "modified",