[FIX] mail_debrand: Set proper default engine in _render_template() function
This commit is contained in:
parent
d043742efc
commit
bdfaa139d5
@ -56,7 +56,7 @@ class MailRenderMixin(models.AbstractModel):
|
|||||||
template_src,
|
template_src,
|
||||||
model,
|
model,
|
||||||
res_ids,
|
res_ids,
|
||||||
engine="qweb_view",
|
engine="inline_template",
|
||||||
add_context=None,
|
add_context=None,
|
||||||
options=None,
|
options=None,
|
||||||
post_process=False,
|
post_process=False,
|
||||||
@ -71,7 +71,7 @@ class MailRenderMixin(models.AbstractModel):
|
|||||||
this could be cleaned but hey, we are in a rush
|
this could be cleaned but hey, we are in a rush
|
||||||
:param str model: model name of records on which we want to perform rendering
|
:param str model: model name of records on which we want to perform rendering
|
||||||
:param list res_ids: list of ids of records (all belonging to same model)
|
:param list res_ids: list of ids of records (all belonging to same model)
|
||||||
:param string engine: jinja
|
:param string engine: inline_template, qweb or qweb_view;
|
||||||
:param post_process: perform rendered str / html post processing (see
|
:param post_process: perform rendered str / html post processing (see
|
||||||
``_render_template_postprocess``)
|
``_render_template_postprocess``)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user