parameters: (self, partner_id)
return_statement: return request.redirect(
              '/web#action=%s&model=crm.lead&partner_id=%s' % (server_action.id, int(partner_id)))
docstring: deprecated as of saas-14.3, not needed for newer versions of the mail plugin but necessary
              for supporting older versions
docstring_summary: deprecated as of saas-14.3, not needed for newer versions of the mail plugin but necessary
              for supporting older versions
docstring_tokens: deprecated as of saas - 14 . 3 not needed for newer versions of the mail plugin but necessary for supporting older versions
function: def crm_lead_redirect_create_form_view(self, partner_id):
          """
              deprecated as of saas-14.3, not needed for newer versions of the mail plugin but necessary
              for supporting older versions
          """
          server_action = http.request.env.ref("crm_mail_plugin.lead_creation_prefilled_action")
          return request.redirect(
              '/web#action=%s&model=crm.lead&partner_id=%s' % (server_action.id, int(partner_id)))
function_tokens: def crm_lead_redirect_create_form_view ( self , partner_id ) : server_action = http . request . env . ref ( "crm_mail_plugin.lead_creation_prefilled_action" ) return request . redirect ( '/web#action=%s&model=crm.lead&partner_id=%s' % ( server_action . id , int ( partner_id ) ) )