From 6d7c30af8592da558ef8157842849f4a41f72ea1 Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Wed, 19 Sep 2012 16:51:10 +0200 Subject: [PATCH] [IMP] indentation bzr revid: abo@openerp.com-20120919145110-81ucvhpf9jcf867y --- addons/portal_crm/wizard/contact.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/addons/portal_crm/wizard/contact.py b/addons/portal_crm/wizard/contact.py index 4deb17876e9..1ddc70178f5 100644 --- a/addons/portal_crm/wizard/contact.py +++ b/addons/portal_crm/wizard/contact.py @@ -88,11 +88,12 @@ class crm_contact_us(osv.TransientModel): def submit(self, cr, uid, ids, context=None): """ When the form is submitted, redirect the user to a "Thanks" message """ - return {'type': 'ir.actions.act_window', - 'view_mode': 'form', - 'view_type': 'form', - 'res_model': self._name, - 'res_id': ids[0], - 'view_id': self.pool.get('ir.model.data').get_object_reference(cr, uid, 'portal_crm', 'wizard_contact_form_view_thanks')[1], - 'target': 'inline' - } + return { + 'type': 'ir.actions.act_window', + 'view_mode': 'form', + 'view_type': 'form', + 'res_model': self._name, + 'res_id': ids[0], + 'view_id': self.pool.get('ir.model.data').get_object_reference(cr, uid, 'portal_crm', 'wizard_contact_form_view_thanks')[1], + 'target': 'inline', + }