feat(web): add footer paging and conditional report footer for account.move

This commit is contained in:
Janik von Rotz committed 2026-03-25 17:40:22 +01:00
1 parent 027ec8a25b
commit 7693c82386
2 files changed
+13 -1

No files matched your search

@@ -1,5 +1,7 @@
<data priority="50">
<div t-if="report_type == 'pdf'" position="replace">
<br/>
<br/>
<div t-if="report_type == 'pdf'" class="text-nowrap"><span class="page"/> / <span class="topage"/></div>
</div>
</data>
</data>
@@ -0,0 +1,10 @@
<data priority="50">
<div t-field="company.report_footer" position="replace">
<t t-if="o and o._name == 'account.move'">
<div class="flex-grow-1 text-start me-2" t-field="company.report_footer"/>
</t>
<t t-else="">
<div class="flex-grow-1 text-start me-2"/>
</t>
</div>
</data>