[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:
parent
031ecd675c
commit
0ee2be6bc1
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue