Skip to content

Commit

Permalink
[IMP] account_comment_template: allow to use dynamic information in c…
Browse files Browse the repository at this point in the history
…omment template
  • Loading branch information
alan196 committed Aug 22, 2023
1 parent 8d3fdb0 commit 01e28e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions account_comment_template/views/report_invoice.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
t-value="o.comment_template_ids.filtered(lambda x: x.position == 'before_lines')"
/>
<t t-foreach="before_comment_template_ids" t-as="comment_template_id">
<div t-esc="comment_template_id.text" />
<div t-out="o.render_comment(comment_template_id)" />
</t>
</xpath>

Expand All @@ -21,7 +21,7 @@
t-value="o.comment_template_ids.filtered(lambda x: x.position == 'after_lines')"
/>
<t t-foreach="after_comment_template_ids" t-as="comment_template_id">
<div t-esc="comment_template_id.text" />
<div t-out="o.render_comment(comment_template_id)" />
</t>
</xpath>

Expand Down

0 comments on commit 01e28e9

Please sign in to comment.