[18.0][MIG] mail_gateway_whatsapp: Migration to 18.0 - #1703
Merged
Conversation
Contributor
Author
Member
|
/ocabot migration mail_gateway_whatsapp |
CarlosRoca13
force-pushed
the
18.0-MIG-mail_gateway_whatsapp
branch
from
August 20, 2025 09:09
4de4454 to
d152729
Compare
CarlosRoca13
marked this pull request as ready for review
August 20, 2025 09:32
CarlosRoca13
force-pushed
the
18.0-MIG-mail_gateway_whatsapp
branch
2 times, most recently
from
August 20, 2025 09:53
82e7b3c to
d3555bb
Compare
carlos-lopez-tecnativa
suggested changes
Aug 20, 2025
carlos-lopez-tecnativa
left a comment
Contributor
There was a problem hiding this comment.
Tested locally with #1701
LGTM, just a minor change.
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <templates xml:space="preserve"> | ||
|
|
||
| <t t-name="mail_gateway_whatsapp.SendWhatsappButton" owl="1"> |
Contributor
There was a problem hiding this comment.
Suggested change
| <t t-name="mail_gateway_whatsapp.SendWhatsappButton" owl="1"> | |
| <t t-name="mail_gateway_whatsapp.SendWhatsappButton"> |
| selection_add=[("whatsapp", "WhatsApp")], ondelete={"whatsapp": "cascade"} | ||
| ) | ||
| whatsapp_from_phone = fields.Char() | ||
| whatsapp_version = fields.Char(default="15.0") |
Contributor
There was a problem hiding this comment.
The minimal API version supported by META for new apps is 23.0. It could be a good time to update this as the default value. WDYT?
Suggested change
| whatsapp_version = fields.Char(default="15.0") | |
| whatsapp_version = fields.Char(default="23.0") |
CarlosRoca13
force-pushed
the
18.0-MIG-mail_gateway_whatsapp
branch
from
August 21, 2025 06:20
d3555bb to
dc6b288
Compare
Contributor
Author
|
Changes done @carlos-lopez-tecnativa |
Member
|
Remove temp commit. |
Allow to send documents, images and so on add mark on message Improve security Pass logic to components Add tests Manage change of version of Facebook API
Currently translated at 4.1% (4 of 96 strings) Translation: social-16.0/social-16.0-mail_gateway_whatsapp Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_gateway_whatsapp/es/
If the company wants to initiate a conversation with a customer, a template must be used; otherwise, messages will not be sent. This also applies when the last conversation with the customer is older than 24 hours. - Enabled downloading templates from META - Added the ability to create templates directly in Odoo. Note: Currently, templates with variables or buttons are not supported.
…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% (210 of 210 strings) Translation: social-16.0/social-16.0-mail_gateway_whatsapp Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_gateway_whatsapp/it/
CarlosRoca13
force-pushed
the
18.0-MIG-mail_gateway_whatsapp
branch
from
August 21, 2025 06:38
dc6b288 to
d933a99
Compare
Contributor
Author
|
Done @pedrobaeza |
Member
|
I'll wait till @carlos-lopez-tecnativa approval, as I didn't see the one in the dependency. |
Contributor
|
On my way to merge this fine PR! |
Contributor
|
Congratulations, your PR was merged at b3dc417. Thanks a lot for contributing to OCA. ❤️ |
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 TT57123
This PR depends on: