[IMP] make PDF reports horizontal
Pas pour la balance
This commit is contained in:
@@ -23,6 +23,8 @@ This module has been written by Alexis de Lattre from Akretion <alexis.delattre@
|
|||||||
'depends': [
|
'depends': [
|
||||||
'account_financial_report_qweb',
|
'account_financial_report_qweb',
|
||||||
],
|
],
|
||||||
'data': [],
|
'data': [
|
||||||
|
'views/reports.xml',
|
||||||
|
'views/layouts.xml',],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
.list_table, .data_table, .totals_table, .list_table .act_as_row {
|
||||||
|
font-size:15px;
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<template id="assets_specific" inherit_id="account_financial_report_qweb.assets_specific">
|
||||||
|
<xpath expr="." position="inside">
|
||||||
|
<link href="/account_financial_report_qweb_usability/static/src/css/reports.css" rel="stylesheet"/>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
|
</odoo>
|
||||||
32
account_financial_report_qweb_usability/views/reports.xml
Normal file
32
account_financial_report_qweb_usability/views/reports.xml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
|
||||||
|
<record id="report_qweb_paperformat_horizontal" model="report.paperformat">
|
||||||
|
<field name="name">Account financial report qweb horizontal paperformat</field>
|
||||||
|
<field name="default" eval="True"/>
|
||||||
|
<field name="format">custom</field>
|
||||||
|
<field name="page_height">297</field>
|
||||||
|
<field name="page_width">210</field>
|
||||||
|
<field name="orientation">Landscape</field>
|
||||||
|
<field name="margin_top">12</field>
|
||||||
|
<field name="margin_bottom">8</field>
|
||||||
|
<field name="margin_left">5</field>
|
||||||
|
<field name="margin_right">5</field>
|
||||||
|
<field name="header_line" eval="False"/>
|
||||||
|
<field name="header_spacing">10</field>
|
||||||
|
<field name="dpi">110</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="account_financial_report_qweb.action_report_general_ledger_qweb" model="ir.actions.report.xml">
|
||||||
|
<field name="paperformat_id" ref="report_qweb_paperformat_horizontal"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="account_financial_report_qweb.action_report_journal_qweb" model="ir.actions.report.xml">
|
||||||
|
<field name="paperformat_id" ref="report_qweb_paperformat_horizontal"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="account_financial_report_qweb.action_report_open_items_qweb" model="ir.actions.report.xml">
|
||||||
|
<field name="paperformat_id" ref="report_qweb_paperformat_horizontal"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user