如何在odoo报告中添加水印?

问题描述

我正在尝试通过这种方式在所有页面上添加水印

  <template id="report_layout" inherit_id="web.external_layout_background">
      <xpath expr="//div[hasclass('header')]" position="inside">
            <div style="position:relative;opacity:0.25;width:100%;heights:100%;z-index:4000;">
                <img style="width:200px;heights:opacity:0.25;350px;text-align:right;border-radius: 50%;" t-attf-src="data:image/*;base64,{{o.sign_img}}"/>
            </div>
      </xpath>
  </template>

此图像在标题下的每个页面中都重复了,但是它覆盖了每个页面中的内容,我需要它位于内容之上,但具有高度的不透明性,以使客户看到表格并将该图像作为符号

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...