[17.0][FIX] portal_invitation_by_website: use website name in portal invitation email#1185
Conversation
pedrobaeza
left a comment
There was a problem hiding this comment.
This is not valid, as translations won't be available, being an XML-ID of another module.
One thing you can do is to intercept def ref(..) method to return a different template from this module when getting the reference of portal.mail_template_data_portal_welcome.
This is still not the best, as you have to re-translate the whole template, but at least it's translatable.
5b8056e to
101221b
Compare
101221b to
d7c5bc1
Compare
pedrobaeza
left a comment
There was a problem hiding this comment.
Why the template doesn't appear in translations?
|
d7c5bc1 to
5dbfe51
Compare
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 43937f0. Thanks a lot for contributing to OCA. ❤️ |
Override the portal invitation email template to display the website name instead of the company name when a website is selected in the wizard.
Falls back to the company name when no website is set.
@Tecnativa TT61856
@pedrobaeza @pilarvargas-tecnativa