From 4efd1a346cbdddd9fa5306c8577a5f0a0703aac8 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 12 Sep 2012 19:55:27 +0200 Subject: [PATCH] [IMP] usability improvements bzr revid: fp@tinyerp.com-20120912175527-lru5i9rltp1qnnrg --- addons/crm/wizard/crm_lead_to_opportunity.py | 8 ++--- .../wizard/crm_lead_to_opportunity_view.xml | 31 ++++++++++--------- addons/crm/wizard/crm_lead_to_partner.py | 6 ++-- .../crm/wizard/crm_partner_to_opportunity.py | 2 +- .../crm_phonecall_to_opportunity_view.xml | 11 ++++--- 5 files changed, 31 insertions(+), 27 deletions(-) diff --git a/addons/crm/wizard/crm_lead_to_opportunity.py b/addons/crm/wizard/crm_lead_to_opportunity.py index e90303dda66..44ce73c23fe 100644 --- a/addons/crm/wizard/crm_lead_to_opportunity.py +++ b/addons/crm/wizard/crm_lead_to_opportunity.py @@ -30,10 +30,10 @@ class crm_lead2opportunity_partner(osv.osv_memory): _inherit = 'crm.lead2partner' _columns = { - 'action': fields.selection([('exist', 'Link to an existing partner'), \ - ('create', 'Create a new partner'), \ - ('nothing', 'Do not link to a partner')], \ - 'Related Partner', 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 Opportunities'), ('merge', 'Merge with existing Opportunities')], 'Conversion Action', required=True), 'opportunity_ids': fields.many2many('crm.lead', string='Opportunities', domain=[('type', '=', 'opportunity')]), } diff --git a/addons/crm/wizard/crm_lead_to_opportunity_view.xml b/addons/crm/wizard/crm_lead_to_opportunity_view.xml index 6a826f7bc0e..ef8acf95b58 100644 --- a/addons/crm/wizard/crm_lead_to_opportunity_view.xml +++ b/addons/crm/wizard/crm_lead_to_opportunity_view.xml @@ -7,22 +7,23 @@ crm.lead2opportunity.partner
- - - + + + - - + + + + + + + + + + - - - - - - - - -