Set a larger font style for the html report with a relative font size to make it responsive. For this, a new html_container is defined so that this does not affect the other reports and the font style is customised only for the report in html view. TT48995
43 lines
1.5 KiB
XML
43 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<template id="account_financial_report.html_container">
|
|
<link
|
|
href="/account_financial_report/static/src/css/report_html.css"
|
|
rel="stylesheet"
|
|
/>
|
|
<t t-set="body_classname" t-value="'container'" />
|
|
<t t-call="web.report_layout">
|
|
<t t-out="0" />
|
|
</t>
|
|
</template>
|
|
<template id="account_financial_report.internal_layout">
|
|
<div class="article o_account_financial_reports_page">
|
|
<link
|
|
href="/account_financial_report/static/src/css/report.css"
|
|
rel="stylesheet"
|
|
/>
|
|
<t t-out="0" />
|
|
</div>
|
|
<div class="footer">
|
|
<div class="row">
|
|
<div class="col-6 custom_footer">
|
|
<span
|
|
t-esc="context_timestamp(datetime.datetime.now()).strftime('%Y-%m-%d %H:%M')"
|
|
/>
|
|
</div>
|
|
<div class="col-6 text-right custom_footer">
|
|
<ul class="list-inline">
|
|
<li class="list-inline-item">
|
|
<span class="page" />
|
|
</li>
|
|
<li class="list-inline-item">/</li>
|
|
<li class="list-inline-item">
|
|
<span class="topage" />
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</odoo>
|