erpnext
erpnext copied to clipboard
Transaction Document item UOM set_query should filter & validate from the item UOM table
Information about bug
The Item has a list of UOMs plus conversion factors that are valid. However when adding Items to a transaction, any UOM is allowed and conversion factor is assumed to be 1.
Selection using set_query and validation should be done against the Item UOM table, but only if an item_code exists, otherwise revert back to old behaviour.
Module
stock
Version
v16 develop
Installation method
None
Relevant log output / Stack trace / Full Error Message.
No response