-->

图片中odoo qweb报告(Picture in odoo qweb report)

2019-10-23 01:37发布

我想表明我的qweb报告的照片。 当我复制从website_quote MODUL即我的XML文件中这一行: <img src="/website_quote/static/src/img/partner_icon_01.png"/>它工作正常,但如果我的partner_icon_01.png文件复制到我的模块的目录,并更改行: <img src="/my_module/static/src/img/partner_icon_01.png"/>时,图像不会出现在我的报告。 任何帮助,将不胜感激。

干杯:亚诺什

Answer 1:

试试下面的代码,并检查

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

这会从我身边做工精细也跟着下面的链接

点击查看参考链接

我希望这应该对你有帮助...! :)



文章来源: Picture in odoo qweb report