v 15.0 Third Party 92
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 72
Technical Name field_encryption
LicenseAGPL-3
Websitehttps://github.com/ShahAlamSumon/field_encryption
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 72
Technical Name field_encryption
LicenseAGPL-3
Websitehttps://github.com/ShahAlamSumon/field_encryption

Field Encryption

Overview

With this module user can store encrypted field value in database. So no one can see the value from database. Multiple fields can be stored inside single Encrypted Field. Just before storing to database, fields gets serialized, and encrypted. On the other hand, after reading, encrypted field gets decrypted and deserialized and values are available in each field in original form.
I this module encrypted field uses symetrical AES algorithm and .

Configuration

This module extends odoo.fields module, so it needs to be loaded as server wide module. This can be achieved by passing
--load="web,field_encryption"
or by adding following line to the server config file:
server_wide_modules = web,field_encryption
In order to set key for encryption/decryption, add following line to server config file:
encryption_key='YOUR_KEY'
You can generate key with python cryptography module like this:
from cryptography.fernet import Fernet
Fernet.generate_key().decode()

Code Example

User need to define one additional field with 'Encrypted' type. Then need to add an attribute "encrypt='encrypted'", in the field which will be encrypted. Code as like the image.

Output

Main field value will be pass to encrypted field and it will retriv value when its need.

Contact us

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
by
M M Shahriar Amin
on 8/25/23, 5:16 AM



Effective for data security
by
Niazi Mahrab
on 8/25/23, 5:16 AM

Very easy to encrypt. Thanks


by
Shojib Hasan
on 8/25/23, 4:47 AM



very important apps
by
Shojib Hasan
on 8/25/23, 4:47 AM

Thanks for this app. It is a very important app