添加图像发票页眉/页脚odoo 8

时间:2015-02-22 21:35:05

标签: templates openerp odoo

我想更改模板发票。我想在页眉和页脚中插入自定义图像。

<image x="1.3cm" y="27.7cm" height="40.0" width="19.0cm" >[[ company.logo or removeParentNode('image') ]]</image>

我想改变

<image x="1.3cm" y="27.7cm" height="40.0" width="19.0cm" >MY CUSTOM IMAGE</image>

如何插入图像外来类型

<img src="my-custom-path">

一般情况下,如何导入图像?

由于

1 个答案:

答案 0 :(得分:0)

您可以添加从插件目录导入的自定义图像,并添加一个图像字段,将其路由到此目录。

<div class="footer">
         <img class="img img-responsive" src="/sale_order_report/static/src/img/header.jpg"/>

相关问题