-
-
Notifications
You must be signed in to change notification settings - Fork 635
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
[15.0][MIG] mail_layout_preview: Migrate to version 15.0 #1143
Conversation
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Hello @simahawk, can you take a look ? |
@sonhd91 LG. Can you please cleanup the commits? The last commit seems to not contain just the fix. It would be also nice if it says
|
d93960f
to
f330e19
Compare
Updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Is the fix to be backported?
Fixing cases where the template doesn't have a record to render a preview.
f330e19
to
133a017
Compare
I just did it |
/ocabot merge nobump |
/ocabot migration mail_layout_preview |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 45de0a0. Thanks a lot for contributing to OCA. ❤️ |
Supersedes #1085
To handle cases where templates without records may raise errors during preview rendering, add condition check in the
_compute_layout_preview_url
function.