Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Redner Odoo Module
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
Redner Odoo Module
Commits
26ba3f1c
Commit
26ba3f1c
authored
2 months ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
ruff
parent
b35bda11
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
models/mail_template.py
+3
-1
3 additions, 1 deletion
models/mail_template.py
with
3 additions
and
1 deletion
models/mail_template.py
+
3
−
1
View file @
26ba3f1c
...
@@ -104,7 +104,9 @@
...
@@ -104,7 +104,9 @@
def
_generate_template
(
self
,
res_ids
,
render_fields
,
find_or_create_partners
=
False
):
def
_generate_template
(
self
,
res_ids
,
render_fields
,
find_or_create_partners
=
False
):
self
.
ensure_one
()
self
.
ensure_one
()
results
=
super
().
_generate_template
(
res_ids
,
render_fields
,
find_or_create_partners
)
results
=
super
().
_generate_template
(
res_ids
,
render_fields
,
find_or_create_partners
)
if
not
self
.
is_redner_template
:
if
not
self
.
is_redner_template
:
return
results
return
results
...
...
This diff is collapsed.
Click to expand it.
Vincent Hatakeyama
@vincent.hatakeyama
mentioned in commit
8b8413ec0b20
·
2 months ago
mentioned in commit
8b8413ec0b20
mentioned in commit 8b8413ec0b2009b8c386a73b95414f68f9dc1c3d
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment