From 62fed1d56286e628a005c477e9419a9490ccaac3 Mon Sep 17 00:00:00 2001 From: Mohammad Umair Sayed Date: Sat, 11 Jul 2026 23:11:20 +0530 Subject: [PATCH] feat: explain FIFO allocation of fixed Discount Amount on Sales Order (#56436) Co-authored-by: Claude Opus 4.8 Co-authored-by: Diptanil Saha --- erpnext/selling/doctype/sales_order/sales_order.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/erpnext/selling/doctype/sales_order/sales_order.json b/erpnext/selling/doctype/sales_order/sales_order.json index 739b91f18b1..893485a7369 100644 --- a/erpnext/selling/doctype/sales_order/sales_order.json +++ b/erpnext/selling/doctype/sales_order/sales_order.json @@ -893,13 +893,15 @@ "print_hide": 1 }, { + "description": "Applying a Discount Amount? When this Sales Order is partially fulfilled through multiple Delivery Notes and Sales Invoices, the Discount Amount is allocated on a FIFO basis. The earlier transactions receive a larger share of the discount. To spread the discount proportionally across item prices, use Additional Discount Percentage instead.", "fieldname": "discount_amount", "fieldtype": "Currency", "hide_days": 1, "hide_seconds": 1, "label": "Additional Discount Amount", "options": "currency", - "print_hide": 1 + "print_hide": 1, + "show_description_on_click": 1 }, { "fieldname": "base_grand_total", @@ -1760,7 +1762,7 @@ "idx": 105, "is_submittable": 1, "links": [], - "modified": "2026-05-28 11:41:11.823034", + "modified": "2026-06-24 12:00:00.000000", "modified_by": "Administrator", "module": "Selling", "name": "Sales Order",