Database Anonymizer - Database Anonymization, Anonymize Database, GDPR Test Database Data Masking
by Modvanta https://modvantaapps.tech/$ 64.80

Database Anonymizer for Odoo 19
Before you hand a database copy to a developer, a partner or a test team, replace the personal data in it. Database Anonymizer swaps names, e-mails, phones, addresses, bank accounts, tax IDs, messages and files for realistic fake values, by rules you control, and refuses to run unless the database is flagged as a copy.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
A safe test database from a real one, in minutes.
Rules per model One rule per model with a record filter; one line per field with the method to use. | 20 methods Fake name, first and last name, company, e-mail, phone, street, city, ZIP, IBAN, VAT, website, text, date shift, fixed value, list, mask, hash, clear, keep. | Consistent fakes The same real value gets the same fake value in every table of a run, so look-ups still line up. |
Standard rules Ready rules for contacts, users, bank accounts, messages, tracking values, outgoing e-mail, CRM leads and employees. | Dry run preview Records in scope, values to change and sample fake values, before anything changes. | Users and security One new password for every user, API keys and two-factor secrets removed. Admin, superuser, public user and you are kept. |
Files and e-mail Delete the attachments of chosen models (optionally images too) and the outgoing e-mail queue. | Refuses live databases Disabled by default; runs only when this exact database is flagged as a copy and its name is typed. System administrators only. | Atomic, logged, fast Batched SQL; on any error nothing changes; every run keeps a log of what changed. |
Who it is for
- Companies sharing a database with an implementation partner or a freelancer.
- Teams that build test and training databases from production.
- Anyone who must keep a copy GDPR-safe.
Key features
Every screen below is a real screenshot of the module on Odoo 19.
Rules for contacts, users, bank accounts, messages, tracking values, outgoing e-mail, CRM and employees, loaded at install.

Each field of a model with its method: fake name, e-mail, phone, address, VAT, hash, clear and more, and a record filter.

A run on a database that is not flagged as a copy shows why it is blocked; nothing can run.

Records in scope, values to change and sample fake values per field, before anything changes.

The run needs the exact database name, the new password for users and a tick on I understand.

What changed per model and field, who ran it, on which database and how long it took.

Fake names, e-mails, phones and cities; the company and the administrator are kept.

Enable anonymization and flag this database as a copy; the neutralized status is shown.

How it works
| 1 | Make a copy of your database (Odoo's database manager or your hosting tools) and open the copy. |
| 2 | In the copy, open Settings > Database Anonymizer: enable it and tick This Database Is A Copy. |
| 3 | Review the rules in Anonymizer > Rules, or add your own models and fields. |
| 4 | Create a run in Anonymizer > Runs and press Preview to see the counts and sample values. |
| 5 | Press Run Anonymization, type the database name and the new user password, and confirm. |
| 6 | Read the log. From a server shell you can also run it with env['mdv.anonymizer.run'].cli_run(...). |
Settings
| Enable Database Anonymization | Off by default; rules and previews still work |
| This Database Is A Copy | Tied to this database's UUID: a database copied from it is not flagged |
| Rule filter | Domain of records to anonymize per model |
| Run options | Reset passwords, delete API keys, remove two-factor secrets, delete attachments of models, include images, delete outgoing e-mail, recompute dependent fields |
FAQ
Compatibility
Share database copies without personal data
Questions before you buy? Write to us - we answer every email.
EMAIL modvantaapps@gmail.com | AUTHOR Modvanta | INCLUDED Rules, preview, run, log, CLI |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 979 |
| Technical Name |
mdv_database_anonymizer |
| License | OPL-1 |
| Website | https://modvantaapps.tech/ |
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