From 0ee2be6bc13c3a8390ee27570d3b23c90b6ac4c3 Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Wed, 28 Dec 2011 14:36:08 +0530 Subject: [PATCH] [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 --- addons/point_of_sale/point_of_sale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/point_of_sale/point_of_sale.py b/addons/point_of_sale/point_of_sale.py index cf152131f99..e8747465eb9 100644 --- a/addons/point_of_sale/point_of_sale.py +++ b/addons/point_of_sale/point_of_sale.py @@ -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',