From 6141071a1879eb3693497fc9b64b6e5a822bc7ec Mon Sep 17 00:00:00 2001 From: SowmyaArunachalam Date: Wed, 19 Nov 2025 22:05:19 +0530 Subject: [PATCH] fix(uom): validate negative conversion factor --- .../uom_conversion_detail/uom_conversion_detail.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/erpnext/stock/doctype/uom_conversion_detail/uom_conversion_detail.json b/erpnext/stock/doctype/uom_conversion_detail/uom_conversion_detail.json index a5b880e28fc..8e8aa678723 100644 --- a/erpnext/stock/doctype/uom_conversion_detail/uom_conversion_detail.json +++ b/erpnext/stock/doctype/uom_conversion_detail/uom_conversion_detail.json @@ -24,6 +24,7 @@ "fieldtype": "Float", "in_list_view": 1, "label": "Conversion Factor", + "non_negative": 1, "oldfieldname": "conversion_factor", "oldfieldtype": "Float" } @@ -31,13 +32,14 @@ "idx": 1, "istable": 1, "links": [], - "modified": "2024-03-27 13:10:57.645955", + "modified": "2025-11-19 21:27:13.968771", "modified_by": "Administrator", "module": "Stock", "name": "UOM Conversion Detail", "owner": "Administrator", "permissions": [], + "row_format": "Dynamic", "sort_field": "creation", "sort_order": "DESC", "states": [] -} \ No newline at end of file +}