在qweb报告中看不到页脚

时间:2016-12-14 07:48:52

标签: odoo-8 wkhtmltopdf qweb

我使用了自定义标题&在qweb报告中的页脚,在我的报告标题中可见,但页脚不可见。请帮助我

Odoo版本8.00,wkhtmltopdf版本-0.12.2.1(带补丁qt)

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="report_myreport">
<t t-call="report.html_container">
    <t t-foreach="docs" t-as="o">
           <div class="header">
                <div class="row" style="border-bottom: 1px solid black;">
                   <div class="col-xs-2">
                        <img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % company.logo" style="height:120px; width:180px;"/>
                   </div>
               </div>
            </div>

            <div class="page">

        This is my Page

            </div> 
    <div class="footer">
        <div class="text-center" style="border-top: 1px solid black;">
                <p class="list-inline">

                this my footer 
            </p>
            <p>Phone: +917455462155 | Email: example@gmail.com </p>             
        </div>
    </div> 
        </t>
    </t>
  </template>
  </data>
  </openerp>

1 个答案:

答案 0 :(得分:0)

您是否尝试过推荐的wkhtmltopdf版本?

https://www.odoo.com/documentation/8.0/setup/install.html wkhtmltopdf ...建议的版本是0.12.1