Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOM Item not being selected #46532

Closed
meaziz opened this issue Mar 14, 2025 · 3 comments
Closed

BOM Item not being selected #46532

meaziz opened this issue Mar 14, 2025 · 3 comments
Labels

Comments

@meaziz
Copy link
Contributor

meaziz commented Mar 14, 2025

Information about bug

Upon adding an item to item to the BOM items it gets a server side programatically error

File "apps/erpnext/erpnext/manufacturing/doctype/bom/bom.py", line 443, in get_bom_material_detail
"uom": args["uom"] if hasattr(args, "uom") else item and args["stock_uom"] or "",
~~~~^^^^^^^
KeyError: 'uom'

Module

manufacturing

Version

ERPNext: v15.54.4 (HEAD)
Frappe Framework: v15.58.1 (HEAD)

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

@meaziz meaziz added the bug label Mar 14, 2025
@zahidmansoor
Copy link

Facing the same issue after latest update.
The issue is because UOM is not fetched automatically in BOM item table. We have to add the UOM Manually.

@zahidmansoor
Copy link

Any Update on this issue??

@mihir-kandoi
Copy link
Contributor

This is a known issue that will be fixed via #46553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants