[IMP] indentation
authorAntonin Bourguignon <abo@openerp.com>
Mon, 12 Nov 2012 10:15:14 +0000 (11:15 +0100)
committerAntonin Bourguignon <abo@openerp.com>
Mon, 12 Nov 2012 10:15:14 +0000 (11:15 +0100)
bzr revid: abo@openerp.com-20121112101514-5da79d21g009t8o1

addons/crm/wizard/crm_lead_to_opportunity.py
addons/crm/wizard/crm_lead_to_partner.py

index ea96e1d..0888dc7 100644 (file)
@@ -30,13 +30,15 @@ class crm_lead2opportunity_partner(osv.osv_memory):
     _inherit = 'crm.lead2partner'
 
     _columns = {
-        'action': fields.selection([('exist', 'Link to an existing customer'), \
-                                    ('create', 'Create a new customer'), \
-                                    ('nothing', 'Do not link to a customer')], \
-                                    'Related Customer', required=True),
-        'name': fields.selection([('convert', 'Convert to opportunity'), \
-                                  ('merge', 'Merge with existing opportunities')], \
-                                  'Conversion Action', required=True),
+        'action': fields.selection([
+                ('exist', 'Link to an existing customer'),
+                ('create', 'Create a new customer'),
+                ('nothing', 'Do not link to a customer')
+            ], 'Related Customer', required=True),
+        'name': fields.selection([
+                ('convert', 'Convert to opportunity'),
+                ('merge', 'Merge with existing opportunities')
+            ], 'Conversion Action', required=True),
         'opportunity_ids': fields.many2many('crm.lead', string='Opportunities', domain=[('type', '=', 'opportunity')]),
     }
 
index c48990f..fdd8d9e 100644 (file)
@@ -28,11 +28,13 @@ class crm_lead2partner(osv.osv_memory):
     _description = 'Lead to Partner'
 
     _columns = {
-        'action': fields.selection([('exist', 'Link to an existing customer'), \
-                                    ('create', 'Create a new customer')], \
-                                    'Action', required=True),
+        'action': fields.selection([
+                ('exist', 'Link to an existing customer'),
+                ('create', 'Create a new customer')
+            ], 'Related Customer', required=True),
         'partner_id': fields.many2one('res.partner', 'Customer'),
     }
+
     def view_init(self, cr, uid, fields, context=None):
         """
         Check for precondition before wizard executes.