From c092d8fc6dec7a0caafbeeb883612194138479f1 Mon Sep 17 00:00:00 2001 From: David Beguin Date: Wed, 23 Jan 2019 12:55:21 +0000 Subject: [PATCH] [IMP] crm : align partner action in lead to opportunity modal on New quotation modal For consistency, in the 'convert to opportunity' modal, move the 'create a new customer' at the top of the selection values to be align with the New quotation - set partner modal (crm.quotation.partner) + change the group title to 'Customer' instead of 'Customers' Task ID : 1917332 Closes PR #30475 --- addons/crm/wizard/crm_lead_to_opportunity_views.xml | 2 +- addons/crm/wizard/crm_partner_binding.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/crm/wizard/crm_lead_to_opportunity_views.xml b/addons/crm/wizard/crm_lead_to_opportunity_views.xml index 97a06862ab1..c3dd60a43ee 100644 --- a/addons/crm/wizard/crm_lead_to_opportunity_views.xml +++ b/addons/crm/wizard/crm_lead_to_opportunity_views.xml @@ -29,7 +29,7 @@ - + diff --git a/addons/crm/wizard/crm_partner_binding.py b/addons/crm/wizard/crm_partner_binding.py index 136f2b41a93..ada173069a4 100644 --- a/addons/crm/wizard/crm_partner_binding.py +++ b/addons/crm/wizard/crm_partner_binding.py @@ -29,8 +29,8 @@ class PartnerBinding(models.TransientModel): return res action = fields.Selection([ - ('exist', 'Link to an existing customer'), ('create', 'Create a new customer'), + ('exist', 'Link to an existing customer'), ('nothing', 'Do not link to a customer') ], 'Related Customer', required=True) partner_id = fields.Many2one('res.partner', 'Customer')