Hello I need change the orientation of the report on qweb-pdf. I am following the documentation making a record, but I don't understand why is this ignored. Here is the XML
<report
id="report_asiento_contable"
model="account.move"
string="Asiento contable"
name="velfasa.report_asiento_contable_view"
file="velfasa.report_asiento_contable"
report_type="qweb-pdf" />
<template id="report_asiento_contable_view">
<xpath expr="//style" position="after">
<style type="text/css" >
.tabla {
cellpadding: 10;
border: 1px solid black;
}
</style>
</xpath>
<t t-call="report.html_container">
<record id="paperformat_asiento_contable" model="report_asiento_contable.paperformat">
<field name="name" >Asiento contable</field>
<field name="orientation" >Landscape</field>
</record>
</t>
</template
Thanks, this is the solution.