-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] mail: set error_msg in template_preview
If the preview wizard was used to preview a template on a model that has no record, error_msg would not be set. This means the field is never set in that case and creating the wizard results in a cache miss on that field. The fix is to simply set it, and we add a test to cover that flow of the wizard. task-3162320 X-original-commit: 0976ce5 Part-of: odoo#118710
- Loading branch information
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters