Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 8 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis 0 migration notes 2 models 3 views 0 HTTP endpoints

Description

This module was written to extend the functionality of partner_firstname to support having a second lastname for contact partners.

In some countries, it's important to have a second last name for contacts.

Contact partners will need to fill at least one of the name fields (First name, First last name or Second last name).

Dependencies

Odoo dependencies
OCA/partner-contact:
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
partner_form res.partner form Inherits partner_firstname.view_partner_form
partner_simple_form res.partner form Inherits partner_firstname.view_partner_simple_form
users_form Add second last name res.users form Inherits partner_firstname.view_users_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • lastname2 Char
    args: 'Second last name'
Public methods (2)
  • get_extra_default_copy_values(self, default=None)
    Override to add '(copy)' suffix to lastname2 instead of lastname.
  • name_fields_in_vals(self, vals)
    @api.model
    Override to check if `lastname2` is in vals.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…