[FIX] Use explicit kwargs: context=context

This commit is contained in:
Joel Grand-Guillaume
2013-12-20 15:07:09 +01:00
committed by Sylvain GARANCHER
parent d0eb93e592
commit 9f2c1df8b9
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ class printing_printer_update_wizard(orm.TransientModel):
return {}
ids = self.pool.get('printing.printer').search(cr, uid, [('system_name','in',printers.keys())], context=context)
for printer in self.pool.get('printing.printer').browse(cr, uid, ids, context):
for printer in self.pool.get('printing.printer').browse(cr, uid, ids, context=context):
del printers[printer.system_name]
for name in printers: