Python 2.7 如何使报表的页脚固定在底部
我已经创建了一个自定义模块。我在报告中的页脚不是固定的页脚。我尝试了几种解决方案,但都没有效果。如果我的销售订单包含多个产品,要么会上升,要么会进入下一页。如果我的销售订单由两页组成,我的页脚只会显示在第二页上,因为它出现故障。我使用的是odoo 9。请提供帮助Python 2.7 如何使报表的页脚固定在底部,python-2.7,odoo-9,Python 2.7,Odoo 9,我已经创建了一个自定义模块。我在报告中的页脚不是固定的页脚。我尝试了几种解决方案,但都没有效果。如果我的销售订单包含多个产品,要么会上升,要么会进入下一页。如果我的销售订单由两页组成,我的页脚只会显示在第二页上,因为它出现故障。我使用的是odoo 9。请提供帮助 <div class="footer"> <div class="text-center" style="border-top: 1px solid black;"> &l
<div class="footer">
<div class="text-center" style="border-top: 1px solid black;">
<small>
<ul t-if="not company.custom_footer" class="list-inline">
<li t-if="company.phone">Phone:
<span t-field="company.phone"/>
</li>
<li t-if="company.fax and company.phone">&bull;</li>
<li t-if="company.fax">Fax:
<span t-field="company.fax"/>
</li>
<li t-if="company.email and company.fax or company.email and company.phone">
&bull;
</li>
<li t-if="company.vat">TVA:
<span t-field="company.vat"/>
</li>
<li t-if="company.company_registry">&bull;</li>
<li t-if="company.company_registry">RC:
<span t-field="company.company_registry"/>
</li>
</ul>
</small>
<small>
<ul class="list-inline">
<t t-set="nbr_page" t-value="1"/>
<li>Page:</li>
<t t-set="compteur" t-value="nbr_page+1"/>
<li>
<span class="page"/>
<t t-esc="nbr_page"/>
</li>
/
<t t-esc="nbr_page"/>
<li>
<span class="topage"/>
</li>
</ul>
</small>
<t t-set="nbr_page" t-value="1"/>
<t t-set="compteur" t-value="nbr_page+1"/>
<!--<t t-esc="nbr_page"/>-->
<!--<t t-if="company.custom_footer">-->
<!--<span t-raw="company.rml_footer"/>-->
<!--</t>-->
</div>
电话:
- &;公牛李>
传真:
-
&;公牛;
TVA:
- &;公牛李>
- RC:
- 第页:
-
/
-
我通过在div class=“footer”style=“position:absolute;bottom:-1115px”中添加标签style找到了解决方案