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

[17.0][IMP] mail_notification_custom_subject: Make the subject_template field translatable #1524

Conversation

victoralmau
Copy link
Member

Make the subject_template field translatable

Please @pedrobaeza can you review it?

@Tecnativa TT52259

@OCA-git-bot
Copy link
Contributor

Hi @yajo,
some modules you are maintaining are being modified, check this out!

@pedrobaeza pedrobaeza added this to the 17.0 milestone Dec 20, 2024
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.

No need for migration scripts as we saw in other case.

Copy link
Member

@yajo yajo left a comment

Choose a reason for hiding this comment

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

I guess the use case is to be able to order stuff in the most appropriate way depending on the language, right? LGTM

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-1524-by-yajo-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 2304730 into OCA:17.0 Dec 20, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza pedrobaeza deleted the 17.0-imp-mail_notification_custom_subject-TT52259 branch December 20, 2024 12:09
@pedrobaeza
Copy link
Member

This will take the subject in its proper user language automatically without requiring anything more. Not sure if there's any hole where the lang is not known at that level, but in that cases, default en_US will be used.

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.

5 participants