You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[UPD] spp_registry_name_suffix: add name suffix support for individuals
- Add spp.name.suffix model for configurable suffixes (Jr., Sr., III, PhD, etc.)
- Extend res.partner with suffix_id field and name_change method
- Add configuration menu under Registry > Configuration > Name Suffixes
- Include default suffix data and unit tests
Copy file name to clipboardExpand all lines: spp_registry_name_suffix/readme/DESCRIPTION.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This module enhances individual registrant data by:
8
8
9
9
***Providing configurable suffixes**: Administrators can manage available suffixes through the Registry Configuration menu.
10
10
***Adding suffix support**: Record name suffixes using a standardized Many2one field reference.
11
-
***Extending name generation**: Automatically includes the suffix in the computed full name.
11
+
***Extending name generation**: Automatically includes the suffix in the generated full name.
12
12
***Maintaining data integrity**: The suffix is stored as a reference to a configurable suffix record.
13
13
14
14
## Features
@@ -32,16 +32,15 @@ The suffix field appears on the Individual registrant form after the "Additional
32
32
- Optional display in the registrant list view
33
33
34
34
### Automatic Name Generation
35
-
The suffix is automatically appended to the registrant's computed name in the format:
36
-
`FAMILY_NAME, GIVEN_NAME, ADDL_NAME, SUFFIX`
35
+
The suffix is automatically appended to the registrant's name when using the form. The module extends the `name_change` method from `g2p_registry_individual` to include the suffix in the generated name format:
36
+
`FAMILY_NAME, GIVEN_NAME ADDL_NAME, SUFFIX`
37
37
38
-
For example: "SMITH, JOHN, MICHAEL, JR."
38
+
For example: "SMITH, JOHN MICHAEL, JR."
39
39
40
40
## Dependencies
41
41
42
42
This module depends on:
43
-
-**spp_registrant_import**: Provides the base name computation logic for registrants.
44
-
-**g2p_registry_individual**: Provides the individual registrant views and model.
43
+
-**g2p_registry_individual**: Provides the individual registrant views, model, and the base `name_change` method.
0 commit comments