Skip to content

[20.0][MIG] vault_share: Migration to 20.0 - #1056

Open
CarlosRoca13 wants to merge 18 commits into
OCA:20.0from
Tecnativa:20.0-MIG-vault_share
Open

CarlosRoca13 wants to merge 18 commits into
OCA:20.0from
Tecnativa:20.0-MIG-vault_share

Conversation

@CarlosRoca13

Copy link
Copy Markdown

fkantelberg and others added 18 commits October 29, 2026 13:52
Fix website in manifest

Run pre-commit

Move models to own files. Apply OCA conventions

Add application icon
…lect all possible users due to access rights - Disable the features if browser isn't using a secure context (https/localhost) - Load required assets in inbox and share frontends - Allow the user to switch a parent of an entry within the same vault - Allow to create entries for vaults using the main menu Entries - Fix bug that encrypted a share twice due to multiple extension with VaultAbstract - Fix a bug on share create that throws a warning about changed values
Currently translated at 87.2% (41 of 47 strings)

Translation: server-auth-15.0/server-auth-15.0-vault_share
Translate-URL: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-vault_share/es/
With the changes introduced on odoo/odoo@a251b14#diff-99de14b6e0a411718ac3adaaf779395155841c7ca9d95fa258369656dae63d18
the tests of vault and vault_share are failing.
To show the button up, it is requiring a getter that is not defined on
vault field. So the getter is added and make the button works correctly.

Steps to reproduce the problem:

1. Go to Vault
2. Enter/Create a Vault
3. Press on entries
4. Access/Create a entry with a field

The button with external link is not showed
Accessing a share link (/vault/share/<token>) raised KeyError: 'website'
when the website module is installed.
The server stored a different token than the one the form used to build the share link, which then always resulted in 'Invalid token'. The root cause was the token default returning a raw UUID object instead of a string. Use a str(uuid4()) default (readonly, copy=False) so every record gets a stable token and the UI/DB always agree.
@oca-cla-bot

oca-cla-bot Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration vault_share

@OCA-git-bot OCA-git-bot added this to the 20.0 milestone Oct 29, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Oct 29, 2026
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants