Merge PR #177 into 14.0

Signed-off-by rousseldenis
This commit is contained in:
OCA-git-bot
2022-10-11 10:06:38 +00:00
2 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
t-foreach="o.comment_template_ids.filtered(lambda x: x.position == 'before_lines')"
t-as="comment_template_top"
>
<div t-raw="comment_template_top.text" />
<div t-raw="o.render_comment(comment_template_top)" />
</t>
</xpath>
<xpath expr="//div[hasclass('page')]" position="inside">
@@ -18,7 +18,7 @@
t-foreach="o.comment_template_ids.filtered(lambda x: x.position == 'after_lines')"
t-as="comment_template_bottom"
>
<div t-raw="comment_template_bottom.text" />
<div t-raw="o.render_comment(comment_template_bottom)" />
</t>
</xpath>
</template>

View File

@@ -7,7 +7,7 @@
t-foreach="o.comment_template_ids.filtered(lambda x: x.position == 'before_lines')"
t-as="comment_template_top"
>
<div t-raw="comment_template_top.text" />
<div t-raw="o.render_comment(comment_template_top)" />
</t>
</xpath>
<xpath expr="//p[@t-field='o.note']" position="after">
@@ -15,7 +15,7 @@
t-foreach="o.comment_template_ids.filtered(lambda x: x.position == 'after_lines')"
t-as="comment_template_bottom"
>
<div t-raw="comment_template_bottom.text" />
<div t-raw="o.render_comment(comment_template_bottom)" />
</t>
</xpath>
</template>