[trunk/7.0][stock] Valuation move lines do not include UoM
Bug #1179705 reported by
Mohammad Alhashash
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP R&D Addons Team 2 | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
6.1 |
New
|
Undecided
|
Unassigned | |||
7.0 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
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_
Regards,
Mohammad Alhashash
Related branches
lp://staging/~alhashash/openobject-addons/7.0-alhashash-bug1179705
Ready for review
for merging
into
lp://staging/openobject-addons/7.0
- OpenERP Core Team: Pending requested
-
Diff: 19 lines (+2/-0)1 file modifiedstock/stock.py (+2/-0)
lp://staging/~alhashash/ocb-addons/7.0-alhashash-bug1179705
- Holger Brunn (Therp): Approve (code review)
- Pedro Manuel Baeza: Approve (code review)
- Yann Papouin: Approve (code review)
-
Diff: 19 lines (+2/-0)1 file modifiedstock/stock.py (+2/-0)
description: | updated |
summary: |
- [trunk/7.0][stock] Valuation move lines does include UoM + [trunk/7.0][stock] Valuation move lines does not include UoM |
tags: | added: warehosue |
tags: |
added: warehouse removed: warehosue |
summary: |
- [trunk/7.0][stock] Valuation move lines does not include UoM + [trunk/7.0][stock] Valuation move lines do not include UoM |
To post a comment you must log in.
Hello Mohammad,
Nice caught..!!! Faced the same problem.
Thank you!