[FIX] pos view

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

bzr revid: fp@tinyerp.com-20111228223806-bp24osh0n3rr6ooi
This commit is contained in:
Fabien Pinckaers 2011-12-28 23:38:06 +01:00
commit 752b925e20
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ class pos_order(osv.osv):
'name': _('Customer Invoice'),
'view_type': 'form',
'view_mode': 'form',
'view_id': res_id,
'view_id': [res_id],
'res_model': 'account.invoice',
'context': "{'type':'out_invoice'}",
'type': 'ir.actions.act_window',