How to create new report layout
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Buchhaltung
- Lager
- PoS
- Project
- MRP
Diese Frage wurde gekennzeichnet
If you want to create a new report layout that you select and customize in the 'Configure your document layout' wizard you can follow the steps provided in the following blog post:
Crafting custom document layouts in Odoo: A step-by-step guide
I hope this helps!
Hi,
Try this code
<template id="custom_report_external_
<t t-call="web.html_container">
<t t-if="not o" t-set="o" t-value="docs"/>
<t t-set="company" t-value="company_id"/>
<div class="header">
<div style="border-top: 1px solid black;">
<img t-if="o.company_id.logo" t-att-src="image_data_uri(o.
class="float-left"/>
<div style="font-size:14px;text-
<div>
<strong t-field="o.company_id.partner_
<span t-field="o.company_id.partner_
t-options="
<span t-field="o.company_id.partner_
</div>
</div>
</div>
</div>
<div class="footer">
<div class="text-center" style="border-top: 1px solid black;">
<ul class="list-inline">
<li t-if="o.company_id.phone">E-
<span t-field="o.company_id.email"/>
</li>
</ul>
</div>
</div>
</t>
</template>
Please refer to the blog given below:
https://www.cybrosys.com/blog/how-to-create-new-report-layouts-in-odoo-16
Hope it helps
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren