[MERGE] [FIX] stock: add missing context in account move creation during valuation, courtesy of Lorenzo Battistini (Agile BG)

lp bug: https://launchpad.net/bugs/1184610 fixed

bzr revid: mat@openerp.com-20131119164255-qlvy8p40ztzblova
This commit is contained in:
Martin Trigaux 2013-11-19 17:42:55 +01:00
commit 2d863f53a2
1 changed files with 1 additions and 1 deletions

View File

@ -2378,7 +2378,7 @@ class stock_move(osv.osv):
{ {
'journal_id': j_id, 'journal_id': j_id,
'line_id': move_lines, '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): def action_done(self, cr, uid, ids, context=None):
""" Makes the move done and if all moves are done, it will finish the picking. """ Makes the move done and if all moves are done, it will finish the picking.