Skip to content

[19.0][MIG] mail_restrict_follower_selection: Migration to 19.0#183

Draft
CRogos wants to merge 36 commits intoOCA:19.0from
c4a8-odoo:copilot/migrate-mail-restrict-follower-selection
Draft

[19.0][MIG] mail_restrict_follower_selection: Migration to 19.0#183
CRogos wants to merge 36 commits intoOCA:19.0from
c4a8-odoo:copilot/migrate-mail-restrict-follower-selection

Conversation

@CRogos
Copy link
Copy Markdown
Contributor

@CRogos CRogos commented Apr 16, 2026

supersede: #150

  • Fix pre-commit C8113: move mail_followers_edit.py from models/ to wizard/ directory
  • Fix test failures round 1: replace env.ref() with set_param() in tests
  • Fix safe_eval() API change: locals_dict= → positional context dict in Odoo 19.0

hbrunn and others added 30 commits April 16, 2026 15:27
Currently translated at 100.0% (3 of 3 strings)

Translation: social-11.0/social-11.0-mail_restrict_follower_selection
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-mail_restrict_follower_selection/fr/
Currently translated at 100.0% (3 of 3 strings)

Translation: social-11.0/social-11.0-mail_restrict_follower_selection
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-mail_restrict_follower_selection/de/
Currently translated at 75.0% (3 of 4 strings)

Translation: social-13.0/social-13.0-mail_restrict_follower_selection
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_restrict_follower_selection/it/
When creating a record from a record from another model, the model is not in the context (`default_res_model` key). For example: creating an invoice from a sale order.
Currently translated at 100.0% (7 of 7 strings)

Translation: social-14.0/social-14.0-mail_restrict_follower_selection
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_restrict_follower_selection/it/
1. Use forecreate=false in mail_restrict_follower_selection/data/ir_config_parameter.xml so that a deleted configuration is not recreated by a module update
2. Change the default domain to something less agressive
3. Add an example restriction restricting following a specific model
Currently translated at 100.0% (4 of 4 strings)

Translation: social-16.0/social-16.0-mail_restrict_follower_selection
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_restrict_follower_selection/it/
With this is change it is now possible to use the `ref` function
in the domain set in a parameter, allowing to include xmlids
in the domain.
Kimkhoi3010 and others added 5 commits April 16, 2026 19:59
Currently translated at 100.0% (4 of 4 strings)

Translation: mail-18.0/mail-18.0-mail_restrict_follower_selection
Translate-URL: https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-mail_restrict_follower_selection/it/
Currently translated at 100.0% (5 of 5 strings)

Translation: mail-18.0/mail-18.0-mail_restrict_follower_selection
Translate-URL: https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-mail_restrict_follower_selection/it/
Currently translated at 100.0% (5 of 5 strings)

Translation: mail-18.0/mail-18.0-mail_restrict_follower_selection
Translate-URL: https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-mail_restrict_follower_selection/de/
@OCA-git-bot OCA-git-bot added series:19.0 mod:mail_restrict_follower_selection Module mail_restrict_follower_selection labels Apr 16, 2026
@CRogos CRogos marked this pull request as draft April 16, 2026 21:45
@CRogos CRogos force-pushed the copilot/migrate-mail-restrict-follower-selection branch from 138d730 to 4917ddd Compare April 16, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:mail_restrict_follower_selection Module mail_restrict_follower_selection series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.