Skip to content

[19.0][MIG] privacy: Migration to 19.0 - #96

Open
FrancescoBellingeri wants to merge 54 commits into
OCA:19.0from
FrancescoBellingeri:19.0-mig-privacy
Open

[19.0][MIG] privacy: Migration to 19.0#96
FrancescoBellingeri wants to merge 54 commits into
OCA:19.0from
FrancescoBellingeri:19.0-mig-privacy

Conversation

@FrancescoBellingeri

Copy link
Copy Markdown

Summary

Migration of privacy from 18.0 to 19.0, following the OCA migration guide.

  • History transplanted from 18.0 with git format-patch / git am.
  • res.groups.category_id replaced by privilege_id (new res.groups.privilege model).
  • groups_id renamed to group_ids on demo res.users record.
  • res.groups.users field renamed to user_ids.
  • Removed target="inline" from the settings ir.actions.act_window (value no longer valid on ir.actions.act_window.target).
  • Dropped string="Group By" from the search view groupby <group>, matching current core convention.
  • Added a test suite (tests/test_privacy_activity.py) covering the controller_id default, active archiving, ACLs for both security groups, and the new res.groups.privilege wiring.

Test plan

  • Module installs cleanly on a 19.0 database
  • pre-commit run -a clean
  • New test suite: 13/13 passing

dreispt and others added 30 commits August 3, 2026 11:00
Renamed module to use the privacy_ convention.
Removed report module (to be proposed in own PR).
Changed README to the autogenerated new style.

Fix website URL

rename
[UPD] README.rst

[UPD] Update privacy.pot
Currently translated at 100.0% (36 of 36 strings)

Translation: data-protection-12.0/data-protection-12.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy/es/
Currently translated at 96.5% (55 of 57 strings)

Translation: data-protection-12.0/data-protection-12.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy/it/
Currently translated at 100.0% (57 of 57 strings)

Translation: data-protection-12.0/data-protection-12.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy/it/

[UPD] README.rst
Currently translated at 50.9% (29 of 57 strings)

Translation: data-protection-12.0/data-protection-12.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy/hr/
- think it could be great to add revision activity or action on this model.

[UPD] Update privacy.pot

privacy 12.0.1.1.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: data-protection-12.0/data-protection-12.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy/

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: data-protection-12.0/data-protection-12.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-12-0/data-protection-12-0-privacy/
@Tecnativa TT25940

[UPD] README.rst

[UPD] Update privacy.pot
Containing

  * assets mechanism now in manifest;
  * groups not supported on view definition itself but in arch;
  * templates should use QWeb syntax since 15.0;
  * update privacy consent form view so that description html field correctly
    takes the whole available place, issue due to small rendering changes in
    views coming with new owl2 engine;
  * use update_context on request instead of updating context directly;
  * t-raw is deprecated, use t-out instead;
  * update methods used in tests: cache management, composer naming;
  * update doc links;
Privacy addon is currently defined as being beta by default, which is
not coherent with privacy_consent being stable. As both are considered
as stable and usable let us update privacy developemnt status.
francesco-ooops and others added 23 commits August 3, 2026 11:00
Currently translated at 76.1% (51 of 67 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/it/
Currently translated at 76.1% (51 of 67 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/it/
Currently translated at 76.1% (51 of 67 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/it/
Currently translated at 100.0% (67 of 67 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/es/
Currently translated at 76.1% (51 of 67 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/it/
Currently translated at 98.5% (66 of 67 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/es/
Currently translated at 100.0% (67 of 67 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/es/
Currently translated at 74.6% (50 of 67 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/it/
Currently translated at 75.7% (50 of 66 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/it/
Currently translated at 100.0% (66 of 66 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/it/
Currently translated at 100.0% (66 of 66 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/it/
Currently translated at 100.0% (66 of 66 strings)

Translation: data-protection-16.0/data-protection-16.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-16-0/data-protection-16-0-privacy/it/
[FIX] Fix copyright header and add comments to clarify menu placeholders
Currently translated at 70.3% (45 of 64 strings)

Translation: data-protection-18.0/data-protection-18.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-18-0/data-protection-18-0-privacy/sl/
Currently translated at 100.0% (64 of 64 strings)

Translation: data-protection-18.0/data-protection-18.0-privacy
Translate-URL: https://translation.odoo-community.org/projects/data-protection-18-0/data-protection-18-0-privacy/sl/
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.