0
我想只在第一页上显示公司reportheader。我现在已经美化PDF中的Qweb报告。但是如果我的报告(例如销售订单)有多个页面,则标题在每个页面上。如何仅在第一页上显示公司标题?
如何仅将公司标题放在第一页上?
谢谢,
我想只在第一页上显示公司reportheader。我现在已经美化PDF中的Qweb报告。但是如果我的报告(例如销售订单)有多个页面,则标题在每个页面上。如何仅在第一页上显示公司标题?
如何仅将公司标题放在第一页上?
谢谢,
标题只显示一次,在第一页page.report。其他是空
<template id="report_quotation_header" inherit_id="report.external_layout_header">
<xpath expr="//div[@class='header']" position="replace">
<div class="header">
<t t-set="data_report_margin_top" t-value="12"/>
<t t-set="data_report_header_spacing" t-value="9"/>
<t t-set="data_report_dpi" t-value="110"/>
<div class="row">
<div class="col-xs-3" name="company_address">
<div t-field="company.partner_id"
t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'
style="border-bottom: 1px solid black;"/>
</div>
</div>
</div>
</xpath>
</template> <!-- end teamplate header-->
对不起,我想只有公司地址和客户地址仅第一页 – pramod24
更新我答。核实 –