mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 07:32:50 +00:00
feat: Grant commission on certain items only (#27467)
Co-authored-by: Sagar Vora <sagar@resilient.tech>
This commit is contained in:
@@ -327,7 +327,8 @@ def get_basic_details(args, item, overwrite_warehouse=True):
|
||||
"against_blanket_order": args.get("against_blanket_order"),
|
||||
"bom_no": item.get("default_bom"),
|
||||
"weight_per_unit": args.get("weight_per_unit") or item.get("weight_per_unit"),
|
||||
"weight_uom": args.get("weight_uom") or item.get("weight_uom")
|
||||
"weight_uom": args.get("weight_uom") or item.get("weight_uom"),
|
||||
"grant_commission": item.get("grant_commission")
|
||||
})
|
||||
|
||||
if item.get("enable_deferred_revenue") or item.get("enable_deferred_expense"):
|
||||
|
||||
Reference in New Issue
Block a user