Merge lp:~openerp-dev/openobject-addons/7.0-opw-600550_601711-ado into lp:openobject-addons/7.0
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-opw-600550_601711-ado |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
43 lines (+33/-0) 1 file modified
purchase/stock.py (+33/-0) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-600550_601711-ado |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andres Calle (TRESCLOUD) (community) | it seems working, should be merged | Needs Resubmitting | |
Martin Trigaux (OpenERP) | Pending | ||
Naresh(OpenERP) | Pending | ||
Review via email: mp+197818@code.launchpad.net |
Description of the change
Hello,
[FIX] stock_return_
Steps:
1). Create a new product with following configuration:
- costing method = average price,inventory valuation = realtime
- cost price = 0,quantity on hand = 0,quantity avaialable = 0
2). create purchase order with quantity = 10, price_unit = 10, confirm and receive incoming shipment
3). create another purchase order with quantity = 10, price_unit = 20, confirm and receive incoming shipment
now product has cost price = 15
4). now return incoming shipment of first purchase order(which has price_unit = 10) and receive the return picking
You will find the cost price remain at 15, it should change to 20.
Propose branch will fix the issue.
Regards,
Amit Dodiya
Unmerged revisions
- 9695. By Amit Dodiya (OpenERP)
-
[FIX] return picking from purchase: while returning incoming shipment with average type product the product price is not updated according to return quantity
Dear Martin, Naresh,
I've tested the patch and seems working, I would like to see it merged, any way I can help?
The average cost in product returns is properly calculated and is a critical requirement of a warehouse system.
BR
Andrés Calle
TRESCLOUD