mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 23:54:59 +00:00
fix: not able to select the item in the BOM
This commit is contained in:
@@ -444,8 +444,8 @@ class BOM(WebsiteGenerator):
|
||||
"description": item and args["description"] or "",
|
||||
"image": item and args["image"] or "",
|
||||
"stock_uom": item and args["stock_uom"] or "",
|
||||
"uom": args["uom"] if hasattr(args, "uom") else item and args["stock_uom"] or "",
|
||||
"conversion_factor": args["conversion_factor"] if hasattr(args, "conversion_factor") else 1,
|
||||
"uom": args["uom"] if args.get("uom") else item and args["stock_uom"] or "",
|
||||
"conversion_factor": args["conversion_factor"] if args.get("conversion_factor") else 1,
|
||||
"bom_no": args["bom_no"],
|
||||
"rate": rate,
|
||||
"qty": args.get("qty") or args.get("stock_qty") or 1,
|
||||
|
||||
Reference in New Issue
Block a user