Add Properties Access Right
by Odoo DevHouse https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse$ 25.00
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 28 |
| Technical Name |
add_properties_access |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 28 |
| Technical Name |
add_properties_access |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
Add Properties Access Right
Control who can create custom property fields in Odoo. Restrict the "Add Properties" option in the gear menu to specific users - prevent unauthorized users from creating custom fields and maintain database schema stability.
In standard Odoo, any user can click the "Add Properties" option in the gear menu on any form view and create custom property fields.
This creates serious risks for database integrity and system stability:
- Unauthorized users can create database columns without oversight
- Excessive custom fields can degrade database performance
- No approval workflow for schema changes
- Duplicate fields created by different users cause data confusion
- Non-technical users can make irreversible database schema changes
- Audit and compliance teams have no visibility into custom field creation
- Upgrades become more complex with unmanaged custom fields
This module introduces a dedicated security group - "Add Properties" - under the Usability category. Users must be explicitly added to this group to see and use the "Add Properties" option in the gear menu. For all other users, the option is completely hidden from the interface - no special permissions, no access.
- Dedicated Security Group: New "Add Properties" group under Usability category
- Complete UI Hiding: Option is completely invisible to unauthorized users (not just disabled)
- Per-User Control: Grant add-properties access to specific users without full admin rights
- Usability Category Integration: Appears alongside other usability settings in user form
- Database Schema Protection: Prevents unauthorized custom field creation
- Audit Ready: User access to property creation is controlled and visible via group membership
1. Grant "Add Properties" Access to Users
Go to Settings -> Users -> Select User -> Usability tab -> Check "Add Properties" group.
2. User WITH Permission - Sees "Add Properties"
Authorized users see the "Add Properties" option in the gear menu as normal.
3. User WITHOUT Permission - Option Hidden
Users without the group see NO "Add Properties" option - completely hidden from interface.
4. Custom Field Creation - Controlled
Only users with explicit permission can create new custom property fields.
Installation & Configuration
- Install the Module: Install through Odoo Apps or manually copy to addons path
- Dependencies: Requires
webmodule (standard Odoo web client) - Restart Server & Update: Restart Odoo and update the app list
- Grant Access to Users: Go to Settings -> Users -> Open user record
- Usability Tab: Click the "Usability" tab -> Check "Add Properties" group
- Save: Click Save - permission takes effect immediately (no logout required)
Step 1: Install Module and Restart
Install the module through Odoo Apps. After installation, restart the Odoo server and update the app list. The module automatically creates the "Add Properties" security group.
Step 2: Assign Group to Authorized Users
Go to Settings -> Users & Companies -> Users. Open a user record. Click the "Usability" tab. Under the list of usability features, check "Add Properties". Click Save.
Recommended: Grant this permission only to:
- System Administrators
- Functional Consultants
- Technical Managers
- Power Users with custom field creation responsibilities
Step 3: Verify Access - Authorized User
Log in as a user who has been granted the "Add Properties" group. Open any form view (e.g., Product, Partner, Sales Order). Click the gear menu () in the top-left corner. You should see the "Add Properties" option in the menu.
Step 4: Verify Access - Unauthorized User
Log in as a user who does NOT have the "Add Properties" group. Open any form view. Click the gear menu - the "Add Properties" option is completely hidden. The user cannot see or access this feature.
Step 5: Create Custom Properties (Only for Authorized Users)
Authorized users can still click "Add Properties" to create custom fields as normal. The feature works exactly like standard Odoo - the only difference is who has access.
Pro Tip - Best Practice for Custom Fields Management
Create a dedicated "Custom Field Administrator" role and assign the "Add Properties" group to only 2-3 trusted users. Implement a change request process where users submit custom field requests, and the designated admins create them. This ensures database schema changes are controlled, documented, and approved - preventing field duplication and performance issues.
Database Impact Note
Each custom property created via "Add Properties" adds a new database column to the underlying model. Excessive custom fields can impact database performance. Use this module to ensure only authorized personnel make schema changes, and regularly review custom fields to clean up unused ones.
Enterprise Organizations
Prevent non-technical users from making uncontrolled database schema changes across departments.
Odoo Partners & Consultants
Control custom field creation during implementations - prevent end-users from accidentally creating fields.
Managed Service Providers
Restrict custom field creation to MSP admins - maintain database stability for client systems.
ISO Certified Companies
Meet change management and access control requirements for ISO 27001, SOC 2, etc.
Development Environments
Allow developers to create custom fields while restricting testers and business analysts.
Financial Services
Prevent unauthorized schema changes that could affect financial reporting and compliance.
Database Stability
Prevent uncontrolled database schema changes - maintain performance and upgrade compatibility.
Change Management
Implement proper approval workflows for custom field creation - full audit trail of who can create fields.
Security Compliance
Meet access control requirements for SOC 2, ISO 27001, and other security standards.
Reduced Technical Debt
Prevent creation of duplicate or unnecessary custom fields - cleaner database schema.
Do You Need Assistance or Have a Feature Request?
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module