'Search for opportunities that have the same partner and that arent done or cancelled
:param partner_id : partner to search'

@api.multi
def get_duplicated_leads(self, partner_id, include_lost=False):

    self.ensure_one()
    email = (self.partner_id.email or self.email_from)
    return self._get_duplicated_leads_by_emails(partner_id, email, include_lost=include_lost)
