Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][IMP] mail_gateway: Allow to use expand on Gateway messages #1489

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

chienandalu
Copy link
Member

@chienandalu chienandalu commented Nov 7, 2024

extending #1443

Just added dummy compatibility with mail_attach_existing_attachment and mail_composer_cc_bcc

TT51108 cc @Tecnativa

please check @etobella @pedrobaeza

@chienandalu
Copy link
Member Author

Now its green... although the fix isn't very nice....

@pedrobaeza pedrobaeza added this to the 16.0 milestone Nov 7, 2024
@@ -66,6 +66,23 @@ class ResPartnerGatewayChannel(models.Model):
"res.company", related="gateway_id.company_id", store=True
)

def name_get(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Document why this method override.

@pedrobaeza
Copy link
Member

The UI seems totally unordered:

imagen

Can you please fix it?

Other OCA modules extending the composer add m2m fields with fixed
relations. To avoid a glue module we try for the moment to add those
manually.

TT51108
@chienandalu
Copy link
Member Author

fixed

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working as expected. I merge as there's the implicit approval of @etobella:

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-1489-by-pedrobaeza-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 36c38a8 into OCA:16.0 Nov 8, 2024
7 of 9 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 3e7f58c. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 16.0-gateway-expand branch November 8, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants