diff options
| author | Martin Trigaux <mat@odoo.com> | 2015-10-19 15:59:28 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-10-19 16:04:06 +0200 |
| commit | f75dcfe4b0eab32cc23784974b623def87aa468b (patch) | |
| tree | 588ac103838e8dea5eb8b53a316f09050c9beee6 | |
| parent | 4315779e55328bbad48dfc199b9ded5f7562060f (diff) | |
[FIX] crm: do not mark as won a lead
A lead can be marked as won, it must be converted to an opportunity first.
Previous flow was problematic as we could still convert to opportunity a won
lead (which does not work and does not make much sense).
A lead can only be lost or converted.
Fixes #9076
| -rw-r--r-- | addons/crm/crm_lead_view.xml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index c97bef2a069..7c3acb048ef 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -108,9 +108,6 @@ <header> <button name="%(crm.action_crm_lead2opportunity_partner)d" string="Convert to Opportunity" type="action" help="Convert to Opportunity" class="oe_highlight"/> - <button name="action_set_won" string="Mark Won" - type="object" class="oe_highlight" - attrs="{'invisible': ['|', ('active','=',False), ('probability', '=', 100)]}"/> <button name="action_set_lost" string="Mark Lost" type="object" class="oe_highlight" attrs="{'invisible': [('active', '=', False)]}"/> |
