Firstname and Lastname in Leads

crm_lead_firstname
REPOSITORY
REPOSITORYOCA/crm
GIT
GIThttps://github.com/OCA/crm.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/crm/tree/18.0/crm_lead_firstname
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Bert Van Groenendael
WEBSITE
WEBSITEhttps://github.com/OCA/crm
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - crm
    - base_setup
    - base
    - web
    - sales_team
    - mail
    - bus
    - web_tour
    - html_editor
    - calendar
    - resource
    - utm
    - contacts
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - phone_validation
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of CRM leads to support split
first and last name fields for contacts and allow you to port that
information to and from partners. Since leads are expected to create
partners only when needed and after information is correctly set up, in
leads there is no inverse logic to transform the old single name in the
new split names automatically. The old single name will simply be the
firstname now.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
crm_lead_view_form Add firstname and lastname crm.lead xpath Inherits crm.crm_lead_view_form
quick_create_opportunity_form crm.lead xpath Inherits crm.quick_create_opportunity_form
Models touched (1)

New fields (2)
  • contact_lastname Char
    args: 'Last name'
  • contact_name Char
    args: 'First name'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/crm
GIT
GIThttps://github.com/OCA/crm.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/crm/tree/17.0/crm_lead_firstname
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSCarlos Lopez, OCA-git-bot, oca-ci, mde-scopea
WEBSITE
WEBSITEhttps://github.com/OCA/crm
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - crm
    - base_setup
    - base
    - web
    - sales_team
    - mail
    - bus
    - web_tour
    - calendar
    - onboarding
    - resource
    - utm
    - contacts
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - phone_validation
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of CRM leads to support split
first and last name fields for contacts and allow you to port that
information to and from partners. Since leads are expected to create
partners only when needed and after information is correctly set up, in
leads there is no inverse logic to transform the old single name in the
new split names automatically. The old single name will simply be the
firstname now.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
crm_lead_view_form Add firstname and lastname crm.lead xpath Inherits crm.crm_lead_view_form
quick_create_opportunity_form crm.lead xpath Inherits crm.quick_create_opportunity_form
Models touched (1)

New fields (2)
  • contact_lastname Char
    args: 'Last name'
  • contact_name Char
    args: 'First name'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/crm
GIT
GIThttps://github.com/OCA/crm.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/crm/tree/16.0/crm_lead_firstname
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Xander De Matteis
WEBSITE
WEBSITEhttps://github.com/OCA/crm
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - crm
    - base_setup
    - base
    - web
    - sales_team
    - mail
    - bus
    - web_tour
    - calendar
    - resource
    - utm
    - web_kanban_gauge
    - contacts
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - phone_validation
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
crm_lead_view_form Add firstname and lastname crm.lead xpath Inherits crm.crm_lead_view_form
quick_create_opportunity_form crm.lead xpath Inherits crm.quick_create_opportunity_form
Models touched (1)

New fields (2)
  • contact_lastname Char
    args: 'Last name'
  • contact_name Char
    args: 'First name'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/crm
GIT
GIThttps://github.com/OCA/crm.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/crm/tree/15.0/crm_lead_firstname
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Xander De Matteis
WEBSITE
WEBSITEhttps://github.com/OCA/crm
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:31
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - crm
    - base_setup
    - base
    - web
    - sales_team
    - mail
    - bus
    - web_tour
    - calendar
    - resource
    - fetchmail
    - utm
    - web_kanban_gauge
    - contacts
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - phone_validation
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
crm_lead_view_form Add firstname and lastname crm.lead xpath Inherits crm.crm_lead_view_form
quick_create_opportunity_form crm.lead xpath Inherits crm.quick_create_opportunity_form
Models touched (1)

New fields (2)
  • contact_lastname Char
    args: 'Last name'
  • contact_name Char
    args: 'First name'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/crm
GIT
GIThttps://github.com/OCA/crm.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/crm/tree/14.0/crm_lead_firstname
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Oihane Crucelaegui, RIDA YAHLA
WEBSITE
WEBSITEhttps://github.com/OCA/crm
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:52
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - crm
    - base_setup
    - base
    - web
    - sales_team
    - mail
    - bus
    - web_tour
    - calendar
    - resource
    - fetchmail
    - utm
    - contacts
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - phone_validation
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
crm_lead_view_form Add firstname and lastname crm.lead xpath Inherits crm.crm_lead_view_form
Models touched (1)

New fields (2)
  • contact_lastname Char
    args: 'Last name'
  • contact_name Char
    args: 'First name'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/crm
GIT
GIThttps://github.com/OCA/crm.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/crm/tree/13.0/crm_lead_firstname
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Víctor Martínez, oca-travis, OCA-git-bot, Nikos Tsirintanis, Stephan Keller
WEBSITE
WEBSITEhttps://github.com/OCA/crm
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - crm
    - base_setup
    - base
    - web
    - sales_team
    - mail
    - bus
    - web_tour
    - calendar
    - resource
    - fetchmail
    - utm
    - contacts
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - phone_validation
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
crm_lead_view_form Add firstname and lastname crm.lead xpath Inherits crm.crm_lead_view_form
Models touched (1)

New fields (2)
  • contact_lastname Char
    args: 'Last name'
  • contact_name Char
    args: 'First name'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/crm
GIT
GIThttps://github.com/OCA/crm.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/crm/tree/12.0/crm_lead_firstname
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSHolger Brunn, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Raf Ven, Stephan Keller
WEBSITE
WEBSITEhttps://github.com/OCA/crm
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - crm
    - base_setup
    - base
    - web
    - sales_team
    - mail
    - bus
    - web_tour
    - calendar
    - resource
    - fetchmail
    - utm
    - contacts
    - digest
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
crm_case_form_view_leads Add firstname and lastname crm.lead xpath Inherits crm.crm_case_form_view_leads
crm_case_form_view_oppor Add firstname and lastname crm.lead xpath Inherits crm.crm_case_form_view_oppor
Models touched (1)

New fields (2)
  • contact_lastname Char
    args: 'Last name'
  • contact_name Char
    args: 'First name'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/crm
GIT
GIThttps://github.com/OCA/crm.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/crm/tree/11.0/crm_lead_firstname
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Antiun Ingeniería S.L.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Antiun Ingeniería S.L.
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttp://www.github.com/OCA/crm
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - crm
    - base_setup
    - base
    - web
    - sales_team
    - mail
    - bus
    - web_tour
    - calendar
    - resource
    - fetchmail
    - utm
    - web_planner
    - contacts
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
crm_case_form_view_leads Add firstname and lastname crm.lead xpath Inherits crm.crm_case_form_view_leads
crm_case_form_view_oppor Add firstname and lastname crm.lead xpath Inherits crm.crm_case_form_view_oppor
Models touched (1)

New fields (2)
  • contact_lastname Char
    args: 'Last name'
  • contact_name Char
    args: 'First name'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/crm
GIT
GIThttps://github.com/OCA/crm.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/crm/tree/8.0/crm_lead_firstname
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Antiun Ingeniería S.L.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Antiun Ingeniería S.L.
COMMITTERS
COMMITTERSJairo Llopis, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttp://www.antiun.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - crm
    - base_action_rule
    - base
    - resource
    - mail
    - base_setup
    - web_kanban
    - web
    - sales_team
    - web_kanban_sparkline
    - email_template
    - calendar
    - web_calendar
    - board
    - fetchmail
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
crm_case_form_view_leads Add firstname and lastname crm.lead xpath Inherits crm.crm_case_form_view_leads
crm_case_form_view_oppor Add firstname and lastname crm.lead xpath Inherits crm.crm_case_form_view_oppor
Models touched (1)

New fields (2)
  • contact_lastname Char
    args: 'Last name'
  • contact_name Char
    args: 'First name'
Public methods (1)
  • on_change_partner_id(self, partner_id)
    @api.multi
    Recover first and last names from partner if available.
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/crm
PULL REQUEST
PULL REQUEST[19.0] [MIG] crm_lead_firstname: Migration to 19.0 (#730)