Skip to content

Commit

Permalink
[MIG] data_encryption: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
map-240221 committed Oct 23, 2024
1 parent 85f06f2 commit 241bd5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data_encryption/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Encryption data",
"summary": "Store accounts and credentials encrypted by environment",
"version": "16.0.1.0.1",
"version": "17.0.1.0.0",
"development_status": "Alpha",
"category": "Tools",
"website": "https://github.com/OCA/server-env",
Expand Down
3 changes: 1 addition & 2 deletions data_encryption/models/encrypted_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ def _encrypted_store(self, name, data, env=None):
self.create(
{"name": name, "environment": env, "encrypted_data": encrypted_data}
)
self._encrypted_get.clear_cache(self)
self._encrypted_read_json.clear_cache(self)
self.env.registry.clear_cache()

@api.model
def _encrypted_store_json(self, name, json_data, env=None):
Expand Down

0 comments on commit 241bd5f

Please sign in to comment.