feat: explain FIFO allocation of fixed Discount Amount on Sales Order (#56436)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Diptanil Saha <diptanil@frappe.io>
This commit is contained in:
Mohammad Umair Sayed
2026-07-11 23:11:20 +05:30
committed by GitHub
parent e2fd061b3d
commit 62fed1d562

View File

@@ -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",