mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
get lead details in quotation
This commit is contained in:
@@ -34,7 +34,7 @@ def get_item_details(args):
|
||||
args = frappe._dict(args)
|
||||
|
||||
if not args.get("transaction_type"):
|
||||
args.transaction_type = "selling" if args.get("customer") else "buying"
|
||||
args.transaction_type = "buying" if args.get("supplier") else "selling"
|
||||
|
||||
if not args.get("price_list"):
|
||||
args.price_list = args.get("selling_price_list") or args.get("buying_price_list")
|
||||
|
||||
Reference in New Issue
Block a user