average price wrong value in stock move
Bug #904029 reported by
Ferdinand
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP R&D Addons Team 2 |
Bug Description
stock_partial_
def _product_
it is not possible to calculate a new avg price using the product_
'cost': move.product_
it is necessary to take the (new) price from partial picking or if empty from purchase line
the standard price can only be used for valuation of production
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-904029-ksa
- Raphael Collet (OpenERP) (community): Approve
- Kirti Savalia(OpenERP) (community): Needs Resubmitting
- Fabien (Open ERP): Disapprove
- Rucha (Open ERP) (community): Approve
- qdp (OpenERP): Pending requested
-
Diff: 11 lines (+1/-1)1 file modifiedpurchase/stock.py (+1/-1)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
had to use line_id. price_unit or move.product_ id.standard_ price })
res.update({'cost' : move.price_unit or move.purchase_
to get correct behaviour