[CLN] crm: remove duplicated method

Probably coming from a conflict / rebase / forward port. Or several of those
keywords.

LINKS

Task ID 2180521 (add tests for crm wizards)
Task ID 2056759 (remove crm.partner.binding mixin)
Task ID 2088565 (crm onchange -> compute)
Community PR odoo/odoo#43473

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Thibault Delavallée
2020-01-23 14:43:50 +00:00
parent 69625cac78
commit 4ea5514230
-5
View File
@@ -533,11 +533,6 @@ class Lead(models.Model):
# ACTIONS
# ------------------------------------------------------------
def toggle_active(self):
super(Lead, self).toggle_active()
self.filtered(lambda lead: lead.active)._compute_probabilities()
return True
def toggle_active(self):
res = super(Lead, self).toggle_active()
self.filtered(lambda lead: lead.active)._update_probability()