[FIX] _create_product_valuation_moves (stock.move) does not use context while creating account.move

bzr revid: lorenzo.battistini@agilebg.com-20130527133044-lzrq5c5t30qrhel7
This commit is contained in:
Lorenzo Battistini 2013-05-27 15:30:44 +02:00
parent 727de3660d
commit a4f5abaefc
1 changed files with 1 additions and 1 deletions

View File

@ -2332,7 +2332,7 @@ class stock_move(osv.osv):
{
'journal_id': j_id,
'line_id': move_lines,
'ref': move.picking_id and move.picking_id.name})
'ref': move.picking_id and move.picking_id.name}, context=context)
def action_done(self, cr, uid, ids, context=None):
""" Makes the move done and if all moves are done, it will finish the picking.