Repository navigation
[20.0][MIG] mail_gateway_telegram: Migration to 20.0 - #320
Open
CarlosRoca13 wants to merge 24 commits into
Open
CarlosRoca13 wants to merge 24 commits into
CarlosRoca13 wants to merge 24 commits into
Conversation
CarlosRoca13
force-pushed
the
20.0-MIG-mail_gateway_telegram
branch
from
October 27, 2026 07:19
1475ddd to
e0ac31c
Compare
Member
|
/ocabot migration mail_gateway_telegram |
2 of 25 tasks
Currently translated at 50.0% (8 of 16 strings) Translation: social-16.0/social-16.0-mail_gateway_telegram Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_gateway_telegram/it/
…ated to the current user - Use OdooBot for webhooks instead of the current user, following the same logic as Odoo. - Avoid automatically adding the current user as a member of a new gateway to prevent notifications for all messages. This is now an explicit configuration.
Currently translated at 100.0% (16 of 16 strings) Translation: social-18.0/social-18.0-mail_gateway_telegram Translate-URL: https://translation.odoo-community.org/projects/social-18-0/social-18-0-mail_gateway_telegram/es/
Store.one_id() builds the reference to a record rather than its content, and its docstring asks callers to avoid it. Sending the gateway channels from a res.partner._to_store() override instead, the way hr_holidays and im_livechat extend partner store data, removes the need for the registry guard added in #1913: a model override only exists in the registries where its module is installed. _thread_to_store() read the channels back from the follower references and passed them on as gateway_followers without ever adding the partners to the store, so it relates them with Store.many() now.
…sers Gateway users without administration rights got an AccessError when loading a Telegram channel in Discuss (avatar) or when editing a message sent through Telegram, as mail.gateway is only readable by administrators.
carlos-lopez-tecnativa
force-pushed
the
20.0-MIG-mail_gateway_telegram
branch
from
November 18, 2026 18:18
e0ac31c to
f85996d
Compare
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cc @Tecnativa TT65375
ping @victoralmau @carlos-lopez-tecnativa