[16.0][IMP] mail_gateway_whatsapp: Update partner mobile when merging guest with WhatsApp gateway #1751
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.
This pull request introduces support for managing WhatsApp gateway information during guest management operations. The most important changes are the addition of a new wizard module and logic to synchronize a partner's mobile number with their WhatsApp gateway token.
WhatsApp Gateway Integration:
mail_guest_manage.pythat extends themail.guest.managetransient model to update the partner's mobile number with the WhatsApp gateway token if a corresponding gateway channel exists. ([mail_gateway_whatsapp/wizards/mail_guest_manage.pyR1-R25](https://github.com/OCA/social/pull/1751/files#diff-d57e0b40c715ca84d1b29618ce6a73267333de0a55fdf5414fd8f1b5bc008d4eR1-R25))__init__.pyto ensure it is loaded by the application. ([mail_gateway_whatsapp/wizards/__init__.pyR3](https://github.com/OCA/social/pull/1751/files#diff-9318e612f101f89d62beb9943f56a81610d515b39d257dd4bf563415de7fae8bR3))