[FIX] stock_account: update the product standard price before calling action_done()

bzr revid: qdp-launchpad@openerp.com-20130909113101-d2bhurixb68p0w19
This commit is contained in:
Quentin (OpenERP) 2013-09-09 13:31:01 +02:00
parent 5d8cd42332
commit bfafdbc990
1 changed files with 1 additions and 1 deletions

View File

@ -202,8 +202,8 @@ class stock_move(osv.osv):
_inherit = "stock.move"
def action_done(self, cr, uid, ids, context=None):
super(stock_move, self).action_done(cr, uid, ids, context=context)
self.product_price_update(cr, uid, ids, context=context)
super(stock_move, self).action_done(cr, uid, ids, context=context)
def _store_average_cost_price(self, cr, uid, move, context=None):
''' move is a browe record '''