erpnext icon indicating copy to clipboard operation
erpnext copied to clipboard

Transaction Document item UOM set_query should filter & validate from the item UOM table

Open casesolved-co-uk opened this issue 10 months ago • 0 comments

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

casesolved-co-uk avatar Apr 20 '24 00:04 casesolved-co-uk