Skip to content
Health
62/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 9 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 16.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.04 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

This module uppercases last names on create and write.

This module uses python upper function. This function uses the default unicode case folding*. This works for many languages, but not for all, like turkish where ı/I i/İ pairs work differently (see cpython issue 17252).

* The uppercasing algorithm used is described in section 3.13 ‘Default Case Folding’ of the Unicode Standard.

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 1

XML IDNameModelTypeStatus
res_config_settings_view_form Add convert_lastnames_to_uppercase config parameter res.config.settings form Inherits base_setup.res_config_settings_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (1)
  • convert_lastnames_to_uppercase Boolean
    config_parameter='partner_lastname_uppercase.convert_lastnames_to_uppercase' default=False
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • uppercase_all_lastnames(self)
    @api.model
  • write(self, vals)

Loading…