From bd830b35a7196ea0b1d10384cc1defb2a999ec9f Mon Sep 17 00:00:00 2001 From: ijas ahammed Date: Thu, 21 Jan 2021 06:05:41 +0000 Subject: [PATCH] [IMP] {sale_}crm: tone down action buttons on lead/opp form view Primary action buttons should suggest the next logical flow to the user. On contrary, the opportunity form view is having too many primary buttons, losing their actual meaning. In this case we consider that next logical steps should be: - the creation of a new commercial document (Sale / Rental) if any / all of those apps are installed; - the winning of the deal (as losing would stop the flow); With this commit, we make following changes to achieve that: - rename the 'Mark Lost' and 'Mark as Lost' buttons to simply 'Lost' and make them secondary buttons; - rename the 'Mark Won' button to simply 'Won', and keep it primary; - once the 'sale_crm' is installed, make the 'Won' button secondary; closes odoo/odoo#64834 Task-id: 2247355 Related: odoo/enterprise#15977 Signed-off-by: Thibault Delavallee (tde) --- addons/crm/views/crm_lead_views.xml | 8 ++++---- addons/sale_crm/views/crm_lead_views.xml | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml index 0528b5e5aeb..2f9f2fa3082 100644 --- a/addons/crm/views/crm_lead_views.xml +++ b/addons/crm/views/crm_lead_views.xml @@ -6,16 +6,16 @@
-