From a04e6037ac5e249ff7e97c64fe467caf800b75e8 Mon Sep 17 00:00:00 2001 From: Charles-Henri Decultot Date: Sat, 16 Dec 2023 20:50:59 +0100 Subject: [PATCH] fix: Don't require gross profit calculation rule to avoid having it in quick entry form --- erpnext/stock/doctype/item/item.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/erpnext/stock/doctype/item/item.json b/erpnext/stock/doctype/item/item.json index d173929dcc1..b92d7f59cd6 100644 --- a/erpnext/stock/doctype/item/item.json +++ b/erpnext/stock/doctype/item/item.json @@ -992,8 +992,7 @@ "fieldname": "gross_profit_calculation_rule", "fieldtype": "Select", "label": "Gross Profit Calculation in Quotations and Sales Orders Based On", - "options": "Valuation Rate\nLast Purchase Rate\nSupplier Cost Price", - "reqd": 1 + "options": "Valuation Rate\nLast Purchase Rate\nSupplier Cost Price" }, { "fieldname": "default_values_section", @@ -1007,7 +1006,7 @@ "index_web_pages_for_search": 1, "links": [], "make_attachments_public": 1, - "modified": "2023-12-14 11:52:58.865039", + "modified": "2023-12-16 20:49:39.541540", "modified_by": "Administrator", "module": "Stock", "name": "Item", -- GitLab