mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 23:22:52 +00:00
fix: customer item code not fetched on selection of the item in the sales order (#17755)
This commit is contained in:
committed by
Nabin Hait
parent
a2f9d2f89c
commit
32280a11aa
@@ -588,7 +588,7 @@ def get_party_item_code(args, item_doc, out):
|
|||||||
if args.transaction_type=="selling" and args.customer:
|
if args.transaction_type=="selling" and args.customer:
|
||||||
out.customer_item_code = None
|
out.customer_item_code = None
|
||||||
|
|
||||||
if args.quotation_to != 'Customer':
|
if args.quotation_to and args.quotation_to != 'Customer':
|
||||||
return
|
return
|
||||||
|
|
||||||
customer_item_code = item_doc.get("customer_items", {"customer_name": args.customer})
|
customer_item_code = item_doc.get("customer_items", {"customer_name": args.customer})
|
||||||
|
|||||||
Reference in New Issue
Block a user