Merge lp:~openerp-dev/openobject-addons/6.1-opw-581120-rgo into lp:openobject-addons/6.1
Status: | Approved | ||||
---|---|---|---|---|---|
Approved by: | Vinay Rana (OpenERP) | ||||
Approved revision: | 7057 | ||||
Proposed branch: | lp:~openerp-dev/openobject-addons/6.1-opw-581120-rgo | ||||
Merge into: | lp:openobject-addons/6.1 | ||||
Diff against target: |
19 lines (+4/-2) 1 file modified
stock/stock.py (+4/-2) |
||||
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-581120-rgo | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vinay Rana (OpenERP) (community) | Approve | ||
Naresh(OpenERP) | Pending | ||
Review via email: mp+132869@code.launchpad.net |
Description of the change
Hello,
To reproduce/for better understanding of the issue, please refer to the video attached to the comment #3 of lp:1068152.
Currently, the code in onchange_lot_id() stock/stock.py does conversion from product's default UoM to the UoM selected in stock move, but it should be between UoM selected in stock move and reference UoM of that product, as the quantity value for lot is stored after converting it to reference UoM.
I have fixed this issue by doing the correct conversion. Kindly review the fix.
Thanks.
Unmerged revisions
- 7057. By Ravi Gohil (OpenERP)
-
[FIX] stock: If we have a product configured with a default UoM whose UoM type is set to other than reference uom, and when creating production lot for this product, it shows QTY in reference UoM and not in default UoM, this causes wrong warning message when assigning lot while creating picking : (Maintenance Case : 581120)
The propose fix will solve the issue.