3

I do not have an idea of how I can increase the company logo on qweb report. This is the report. enter image description here

How do I increase the company logo at the top left hand corner of the picture?

A.Sasori
  • 385
  • 3
  • 20

1 Answers1

3

Odoo will call the web external_layout_standard when the document template is not set in the company (where the header is defined) and the size of the image is limited in height using the max-height attribute.

Try to increase the max-height defined on the img tag using the style attribute.

Example:

<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>
Kenly
  • 24,317
  • 7
  • 44
  • 60