Hello all,
I need your help please in Qweb report, I have two issues I don't know how to fix them:
- first issue is with header, I want to display header only in first page not all pages.
- second issue with formatting fileds (html fields), when I put images in form view it doesn't display well in the report, I got a lot of spaces between fields and the images mix with the text.
Examples:
form view
report view:
python code:
constClient = fields.Html(string="Constation client")
constGerant = fields.Html(string="Constation gérant")
qweb code:
<div t-if="doc.getconstClient">
<strong>Constatation client: </strong>
<span t-raw="doc.getconstClient"/>
</div>
<div t-if="doc.getconstGerant">
<strong>Constatation gérant: </strong>
<span t-raw="doc.getconstGerant"/>
</div>
Thanks in advance