mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-13 15:27:12 +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)
|
||||
out = frappe._dict()
|
||||
if not args.get("item_code"): return
|
||||
|
||||
if not args.get("item_group") or not args.get("brand"):
|
||||
args.item_group, args.brand = frappe.db.get_value("Item",
|
||||
|
||||
Reference in New Issue
Block a user