TIP: You can type at any time to perform a new search.
Partner last name uppercase
partner_lastname_uppercase · OCA/partner-contact
- Repository
- OCA/partner-contact · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Extra Tools
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/partner-contact
- Last tracking update
- 2026-08-07 08:23:01
- Authors
- Odoo Community Association (OCA), Coop IT Easy SC
- Maintainers
- Coop IT Easy SC
- Committers
- OCA-git-bot, oca-ci, Bhavesh Heliconia
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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](https://bugs.python.org/issue17252)). \* The uppercasing algorithm used is described in section 3.13 ‘Default Case Folding’ of the [Unicode Standard](https://www.unicode.org/versions/Unicode15.0.0/ch03.pdf).
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_uppercaseBooleanconfig_parameter='partner_lastname_uppercase.convert_lastnames_to_uppercase'default=False
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…