Create a reception or delivery of a stockable product and process it. Either check the account lines of the valuation entry in the database or open Journal Items > Stock Journal and modify the tree view through the developer mode to show the product_id, product_uom_id, and quantity fields.
While the quantity field has the stock move quantity in move UoM, the product_uom_id is always NULL! Without unit of measure, the quantity value is meaningless. Having these fields in journal items is very useful for reporting.
The problem cause is that method _create_account_move_line() of account.move.line does not add the product_uom_id to the created lines.
Create a reception or delivery of a stockable product and process it. Either check the account lines of the valuation entry in the database or open Journal Items > Stock Journal and modify the tree view through the developer mode to show the product_id, product_uom_id, and quantity fields.
While the quantity field has the stock move quantity in move UoM, the product_uom_id is always NULL! Without unit of measure, the quantity value is meaningless. Having these fields in journal items is very useful for reporting.
The problem cause is that method _create_ account_ move_line( ) of account.move.line does not add the product_uom_id to the created lines.
Regards,
Mohammad Alhashash