Foundation module that aggregates OpenSPP core dependencies and provides phone number validation, menu icon customization, and base user role configuration. Acts as the primary dependency for implementation-specific base modules, ensuring consistent phone validation rules and UI theming across the platform.
- Define configurable phone validation rules with digit count and prefix requirements
- Automatically validate phone numbers on create/write against active validation rules
- Customize menu icons for Registry, Apps, Settings, and standard Odoo modules
- Configure global and local registrar user roles with implied permissions
- Auto-populate partner phone field from structured phone number records
| Model | Description |
|---|---|
spp.phone.validation |
Configurable phone validation rule (prefix, digits) |
Extensions:
spp.phone.number- Adds automatic validation on saveres.partner- Adds phone auto-population from phone_number_idsir.module.module- Adds menu icon update on module install
After installing:
- Menu icons (Registry, Apps, Settings) update automatically during installation
- Global/local registrar roles are configured with implied permissions via data files
- Create phone validation rules programmatically or via technical views (no standalone menu)
No standalone menu. Phone validation configuration is accessible through:
- Technical views (debug mode) via Settings > Technical > Database Structure > Models
- Registry main menu gets custom OpenSPP icon
- Apps and Settings menus get custom OpenSPP icons
| Group | Access |
|---|---|
base.group_system |
Full CRUD on phone validation |
spp_registry.group_registry_read |
Read-only on phone validation |
spp_registry.group_registry_write |
Read/Write (no create/delete) |
spp_registry.group_registry_create |
Read/Create (no write/delete) |
Additional access rules grant registry groups appropriate permissions on
res.partner, spp.phone.number, spp.registry.id,
spp.registry.relationship, spp.id.type, and technical models.
- Override
_onchange_phone_validation()inspp.phone.numberto customize validation logic - Extend
ICON_MAPinir.module.moduleto add menu icons for additional modules - Inherit global/local role definitions in
data/global_roles.xmlanddata/local_roles.xml
base, spp_user_roles, spp_hide_menus_base,
spp_base_setting, spp_registry, spp_security
Table of contents
- Initial migration to OpenSPP2
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- OpenSPP.org
Current maintainers:
This module is part of the OpenSPP/OpenSPP2 project on GitHub.
You are welcome to contribute.





