[FIX] point_of_sale : point of sale invoice action wrong view_id type

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

bzr revid: bde@tinyerp.com-20111228090608-b1t0tfjv0hyxg305
This commit is contained in:
Bharat Devnani (OpenERP) 2011-12-28 14:36:08 +05:30
parent 031ecd675c
commit 0ee2be6bc1
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',