2024-05-20 21:37:38 发布
网友
我不知道如何在qweb报告中增加公司徽标。 这是报告。
如何增加图片左上角的公司徽标
当文档模板未在公司中设置(其中定义了标题)并且图像的大小使用max-height属性在高度上受到限制时,Odoo将调用web external_layout_standard
尝试使用style属性增加在img标记上定义的max-height
img
max-height
示例:
<template id="external_layout_custom_img_style" inherit_id="web.external_layout_standard"> <xpath expr="//div[hasclass('col-3')]/img" position="attributes"> <attribute name="style">max-height: 64px;</attribute> </xpath> </template>
当文档模板未在公司中设置(其中定义了标题)并且图像的大小使用max-height属性在高度上受到限制时,Odoo将调用web external_layout_standard
尝试使用style属性增加在
img
标记上定义的max-height
示例:
相关问题 更多 >
编程相关推荐