mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
Minor fixes in fetching item details
This commit is contained in:
@@ -255,6 +255,7 @@ def apply_pricing_rule(args):
|
|||||||
|
|
||||||
args = frappe._dict(args)
|
args = frappe._dict(args)
|
||||||
out = frappe._dict()
|
out = frappe._dict()
|
||||||
|
if not args.get("item_code"): return
|
||||||
|
|
||||||
if not args.get("item_group") or not args.get("brand"):
|
if not args.get("item_group") or not args.get("brand"):
|
||||||
args.item_group, args.brand = frappe.db.get_value("Item",
|
args.item_group, args.brand = frappe.db.get_value("Item",
|
||||||
|
|||||||
Reference in New Issue
Block a user