diff --git a/erpnext/selling/doctype/quotation_item/quotation_item.json b/erpnext/selling/doctype/quotation_item/quotation_item.json index de4bbaa7a09a80fcd948699892a168a87188ce73..c43d0947d4699d8c9aa2daed88110fc6c9f5cfa4 100644 --- a/erpnext/selling/doctype/quotation_item/quotation_item.json +++ b/erpnext/selling/doctype/quotation_item/quotation_item.json @@ -56,6 +56,7 @@ "is_free_item", "is_alternative", "has_alternative_item", + "grant_commission", "costs_section", "valuation_rate", "last_purchase_rate", @@ -822,12 +823,20 @@ "label": "Product Bundle", "options": "Product Bundle", "read_only": 1 + }, + { + "default": "0", + "fetch_from": "item_code.grant_commission", + "fieldname": "grant_commission", + "fieldtype": "Check", + "label": "Grant Commission", + "read_only": 1 } ], "idx": 1, "istable": 1, "links": [], - "modified": "2025-02-14 14:53:07.282841", + "modified": "2025-10-27 11:23:03.466883", "modified_by": "Administrator", "module": "Selling", "name": "Quotation Item", diff --git a/erpnext/selling/doctype/quotation_item/quotation_item.py b/erpnext/selling/doctype/quotation_item/quotation_item.py index 27949a4991de3a8efe648615559d57174938fb94..932d110ffb3125eba61ff5a36f0623b95accc358 100644 --- a/erpnext/selling/doctype/quotation_item/quotation_item.py +++ b/erpnext/selling/doctype/quotation_item/quotation_item.py @@ -37,6 +37,7 @@ class QuotationItem(Document): description: DF.TextEditor | None discount_amount: DF.Currency discount_percentage: DF.Percent + grant_commission: DF.Check gross_profit: DF.Currency gross_profit_calculation_rule: DF.Literal[ "Valuation Rate", "Last Purchase Rate", "Supplier Cost Price"