fix: process loss % can be negative (#50629)

This commit is contained in:
Mihir Kandoi
2025-11-19 16:37:23 +05:30
committed by GitHub
parent 197f00f211
commit 1ee700fff3

View File

@@ -558,12 +558,14 @@
{ {
"fieldname": "process_loss_percentage", "fieldname": "process_loss_percentage",
"fieldtype": "Percent", "fieldtype": "Percent",
"label": "% Process Loss" "label": "% Process Loss",
"non_negative": 1
}, },
{ {
"fieldname": "process_loss_qty", "fieldname": "process_loss_qty",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Process Loss Qty", "label": "Process Loss Qty",
"non_negative": 1,
"read_only": 1 "read_only": 1
}, },
{ {
@@ -682,7 +684,7 @@
"image_field": "image", "image_field": "image",
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2025-11-06 15:27:54.806116", "modified": "2025-11-19 16:17:15.925156",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Manufacturing", "module": "Manufacturing",
"name": "BOM", "name": "BOM",