feat(web): add footer paging and conditional report footer for account.move
This commit is contained in:
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>
|
||||
Reference in new issue
Block a user