| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 417 |
| Technical Name |
data_masking_pro |
| License | OPL-1 |
| Versions | 17.0 18.0 |
Odoo Data Masking Pro
Safe & Seamless Database Anonymization Generator (GDPR / DSGVO)
100% Risk-Free Backup Anonymization
Protect your sensitive business data with zero risk.
Exposing real customer emails, phone numbers, or financial records in testing environments is a major compliance liability.
Data Masking Pro solves this by intercepting and obfuscating sensitive information on the fly during the export process, leaving your active production database completely untouched.
The module automatically packages a fully anonymized, standalone .zip archive (including the obfuscated SQL dump and filestore). This guarantees absolute compliance with international privacy laws (GDPR, DSGVO) while delivering perfectly functional databases for your staging, development, or third-party testing teams.
Key Professional Features
Advanced Obfuscation Rules
Configure customized mask rules per model and field. Support for random names, fake e-mails, masked phone numbers, random numbers, and fixed replacement values.
- Targeted anonymization: Choose exactly which field to anonymize and which one to leave as it is.
- Smart formats: Generates realistic fake data while maintaining consistent database structures.
- Flexible types: Supports multiple data types including char, text, numbers and dates fields.
Zero-Impact Architecture
The application never modifies your active database fields. It safely captures data during export, ensuring your production data remains completely raw and undisturbed.
- Risk-free process: Zero modification or data loss on your live Odoo instance.
- On-the-fly execution: Obfuscation is strictly processed during the file generation stream.
- Standalone output: Outputs a direct secure download without requiring post-processing scripts.
Auto-Destruct Dump Wizard
Export anonymized dumps containing both obfuscated SQL scripts and filestore. Download links are physically and permanently destroyed from the server after a customizable countdown timer expires.
- Custom countdown: Set the exact file expiration time in minutes directly from the wizard.
- Background cleanup: A dedicated secure background thread purges the physical file and resets the UI.
- Instant state update: Changes the wizard state to "Expired" immediately after the countdown, giving clear visual feedback to the user.
Global Multi-Rule Configurations
Map multiple tables and sensitive data structures simultaneously (e.g., Contacts, Leads, Invoices) into a single unified global masking session layout.
- Centralized mapping: Manage rules for all your core Odoo business models in one screen.
- Reusable sessions: Save your rules as templates and reuse them for regular data extractions.
- Relational integrity: Maintains accurate database constraints between masked records.
System Prerequisites
This module requires external Python libraries to generate realistic fake data and secure archives. Please run the following command on your Odoo server terminal before installing the module:
pip3 install Faker
How It Works: Step-by-Step Tutorial
1 Configure Your Masking Rules
Navigate to the Data Masking menu, create a new session, select your targeted Odoo model, and map the sensitive fields with their respective anonymization methods (Fake Email, Fake Name, Fixed Value, etc.).
2 Launch the Multi-Rule Export Wizard
Open the Export Wizard, select the masking configurations you wish to apply, and set the security countdown timer (destruction time in minutes) after which the download link will expire.
3 Download Your Secure ZIP Archive
Click generate. The system packages the obfuscated SQL file and its associated filestore into a single compressed ZIP file. A real-time countdown widget shows you how much time is left before the file is wiped from the server.
Generated Archive Architecture
The wizard compiles a secure standalone Odoo backup structure containing:
-----|--- dump.sql (Complete obfuscated database script)
-----|--- filestore/ (Attached binary physical files)
-----|--- manifest.json (Metadata validation file)
Need Professional Assistance or Enterprise Customization?
Our development team is available for specific obfuscation algorithm integration or dedicated support. Contact us through the Odoo App Store platform.
Data Masking Pro - Documentation
Configuration
- Go to the Data Masking menu.
- Create a new masking session and select your target model (e.g., res.partner).
- Add the fields you want to obfuscate and select the appropriate rules (e.g., Fake Email).
How to Export
- Open the Multi-Rule Export Wizard.
- Select your active configuration session.
- Define the file expiration countdown in minutes.
- Click Generate Archive to download your secure ZIP file.
Warning
Ensure that the external Python library Faker is installed on your server environment (pip3 install Faker) before executing an export session.
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