Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <data>
- <!--
- Done by RHT on the 14/04/2025
- Need : different footer for commerical invoice
- Task : https://www.odoo.com/odoo/project.task/4707829
- Pastebin : https://pastebin.com/QgyLBfhU
- -->
- <xpath expr="//div[3]" position="replace">
- <div t-attf-class="footer o_company_#{company.id}_layout {{report_type != 'pdf' and 'mt-auto'}}" t-if="commercial_footer">
- <div class="o_footer_content row border-top">
- I certify that the information presented on this invoice is true and accurate to the best of my knowledge.
- </div>
- <div class="row">
- <div class="col-5">
- <strong>Authorized By:</strong> __________________________
- </div>
- <div class="col-4">
- <strong>Title:</strong> __________________________
- </div>
- <div class="col-3">
- <strong>Date:</strong> _________________
- </div>
- </div>
- </div>
- <div class="o_footer_content row border-top pt-2" t-if="not commercial_footer">
- <div class="col-8">
- <span t-field="company.report_footer"/>
- </div>
- <div class="col-4 text-end">
- <strong t-if="company.report_header" t-field="company.report_header" class="o_company_tagline">Company tagline</strong>
- <span t-if="report_type == 'pdf' and display_name_in_footer" class="text-muted" t-out="str(o.name) + ', '">(document name)</span>
- <span t-if="report_type == 'pdf'" class="text-muted">Page <span class="page"/> / <span class="topage"/></span>
- </div>
- </div>
- </xpath>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement