[FIX] account: pass context to move line reconciliation creation (opw #594546)
authorMartin Trigaux <mat@openerp.com>
Mon, 12 Aug 2013 09:48:59 +0000 (11:48 +0200)
committerMartin Trigaux <mat@openerp.com>
Mon, 12 Aug 2013 09:48:59 +0000 (11:48 +0200)
bzr revid: mat@openerp.com-20130812094859-gyg5d1jz69zikt7s

addons/account/account_move_line.py

index db031a7..6d3b279 100644 (file)
@@ -800,7 +800,7 @@ class account_move_line(osv.osv):
         r_id = move_rec_obj.create(cr, uid, {
             'type': type,
             'line_partial_ids': map(lambda x: (4,x,False), merges+unmerge)
-        })
+        }, context=context)
         move_rec_obj.reconcile_partial_check(cr, uid, [r_id] + merges_rec, context=context)
         return True