Second Lastname in Leads

crm_lead_second_lastname
REPOSITORY
REPOSITORYOCA/crm
GIT
GIThttps://github.com/OCA/crm.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/crm/tree/8.0/crm_lead_second_lastname
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, 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/crm:
    - crm_lead_firstname
OCA/partner-contact:
    - partner_firstname
    - partner_second_lastname
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 second lastname crm.lead xpath Inherits crm_lead_firstname.crm_case_form_view_leads
crm_case_form_view_oppor Add second lastname crm.lead xpath Inherits crm_lead_firstname.crm_case_form_view_oppor
Models touched (1)

New fields (1)
  • contact_lastname2 Char
    args: 'Second last name'
Public methods (1)
  • on_change_partner_id(self, partner_id)
    @api.multi
    Recover first and last names from partner if available.