我有一个带有页眉和页脚的自定义报告模板
我从“web.external_layout_standard”扩展了这个页眉和这个页脚
如何在报告页面上指定记录数。
例如,我希望产品在 16 日之后切换到其他页面。我有像图片这样的问题。
图片链接: https ://i.hizliresim.com/8YZDMk.png
我正在尝试此代码但无法正常工作:
<t t-if="counter==16 and line['price_subtotal']">
<tr class="text-right" style="border:0;border-top:0">
<td colspan="6">
<strong>Ara Toplam:</strong>
<span>
<t t-esc="subtotal" t-options="{'widget':'monetary',
'display_currency':o.currency_id}"/>
</span>
</td>
</tr>
<t t-set="counter" t-value="0" />
<div style="page-break-after:auto;"></div>
</t>