[FIX] passed context = context instead of blank dict {}

bzr revid: bde@tinyerp.com-20111215061720-pxmkueupeoe0utt9
This commit is contained in:
Bharat (OpenERP) 2011-12-15 11:47:20 +05:30
parent 46896b6a9f
commit ef580a12f6
1 changed files with 1 additions and 1 deletions

View File

@ -907,7 +907,7 @@ class account_invoice(osv.osv):
date = inv.date_invoice or time.strftime('%Y-%m-%d')
part = inv.partner_id.id
line = map(lambda x:(0,0,self.line_get_convert(cr, uid, x, part, date, context={})),iml)
line = map(lambda x:(0,0,self.line_get_convert(cr, uid, x, part, date, context=context)),iml)
line = self.group_lines(cr, uid, iml, line, inv)