[MIG] account_financial_report_qweb: Migration to 11.0
* dynamize general ledger
This commit is contained in:
committed by
chaule97
parent
caf8ce9698
commit
554ad61027
151
account_financial_report/reports.xml
Normal file
151
account_financial_report/reports.xml
Normal file
@@ -0,0 +1,151 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<!-- PDF/HMTL REPORTS -->
|
||||
|
||||
<!-- General Ledger -->
|
||||
<report
|
||||
id="action_report_general_ledger_qweb"
|
||||
model="report_general_ledger"
|
||||
string="General Ledger"
|
||||
report_type="qweb-pdf"
|
||||
name="account_financial_report.report_general_ledger_qweb"
|
||||
file="account_financial_report.report_general_ledger"
|
||||
/>
|
||||
<report
|
||||
id="action_report_general_ledger_html"
|
||||
model="report_general_ledger"
|
||||
string="General Ledger"
|
||||
report_type="qweb-html"
|
||||
name="account_financial_report.report_general_ledger_qweb"
|
||||
file="account_financial_report.report_general_ledger"
|
||||
/>
|
||||
|
||||
<!-- Trial Balance -->
|
||||
<report
|
||||
id="action_report_trial_balance_qweb"
|
||||
model="report_trial_balance"
|
||||
string="Trial Balance"
|
||||
report_type="qweb-pdf"
|
||||
name="account_financial_report.report_trial_balance_qweb"
|
||||
file="account_financial_report.report_trial_balance_qweb"
|
||||
/>
|
||||
<report
|
||||
id="action_report_trial_balance_html"
|
||||
model="report_trial_balance"
|
||||
string="Trial Balance"
|
||||
report_type="qweb-html"
|
||||
name="account_financial_report.report_trial_balance_qweb"
|
||||
file="account_financial_report.report_trial_balance_html"
|
||||
/>
|
||||
|
||||
<!-- Open Items -->
|
||||
<report
|
||||
id="action_report_open_items_qweb"
|
||||
model="report_open_items"
|
||||
string="Open Items"
|
||||
report_type="qweb-pdf"
|
||||
name="account_financial_report.report_open_items_qweb"
|
||||
file="account_financial_report.report_open_items_qweb"
|
||||
/>
|
||||
<report
|
||||
id="action_report_open_items_html"
|
||||
model="report_open_items"
|
||||
string="Open Items"
|
||||
report_type="qweb-html"
|
||||
name="account_financial_report.report_open_items_qweb"
|
||||
file="account_financial_report.report_open_items_html"
|
||||
/>
|
||||
|
||||
<!-- Aged Partner Balance -->
|
||||
<report
|
||||
id="action_report_aged_partner_balance_qweb"
|
||||
model="report_aged_partner_balance"
|
||||
string="Aged Partner Balance"
|
||||
report_type="qweb-pdf"
|
||||
name="account_financial_report.report_aged_partner_balance_qweb"
|
||||
file="account_financial_report.report_aged_partner_balance_qweb"
|
||||
/>
|
||||
<report
|
||||
id="action_report_aged_partner_balance_html"
|
||||
model="report_aged_partner_balance"
|
||||
string="Aged Partner Balance"
|
||||
report_type="qweb-html"
|
||||
name="account_financial_report.report_aged_partner_balance_qweb"
|
||||
file="account_financial_report.report_aged_partner_balance_html"
|
||||
/>
|
||||
|
||||
<!-- PDF REPORTS : paperformat -->
|
||||
|
||||
<record id="report_qweb_paperformat" model="report.paperformat">
|
||||
<field name="name">Account financial report qweb 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">Portrait</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="action_report_general_ledger_qweb" model="ir.actions.report">
|
||||
<field name="paperformat_id" ref="report_qweb_paperformat"/>
|
||||
</record>
|
||||
|
||||
<record id="action_report_trial_balance_qweb" model="ir.actions.report">
|
||||
<field name="paperformat_id" ref="report_qweb_paperformat"/>
|
||||
</record>
|
||||
|
||||
<record id="action_report_open_items_qweb" model="ir.actions.report">
|
||||
<field name="paperformat_id" ref="report_qweb_paperformat"/>
|
||||
</record>
|
||||
|
||||
<record id="action_report_aged_partner_balance_qweb"
|
||||
model="ir.actions.report">
|
||||
<field name="paperformat_id" ref="report_qweb_paperformat"/>
|
||||
</record>
|
||||
|
||||
<!-- XLSX REPORTS -->
|
||||
|
||||
<record id="action_report_general_ledger_xlsx" model="ir.actions.report">
|
||||
<field name="name">General Ledger XLSX</field>
|
||||
<field name="model">report_general_ledger</field>
|
||||
<field name="type">ir.actions.report</field>
|
||||
<field name="report_name">a_f_r.report_general_ledger_xlsx</field>
|
||||
<field name="report_type">xlsx</field>
|
||||
<field name="report_file">report_general_ledger</field>
|
||||
</record>
|
||||
|
||||
<record id="action_report_trial_balance_xlsx" model="ir.actions.report">
|
||||
<field name="name">Trial Balance XLSX</field>
|
||||
<field name="model">report_trial_balance</field>
|
||||
<field name="type">ir.actions.report</field>
|
||||
<field name="report_name">a_f_r.report_trial_balance_xlsx</field>
|
||||
<field name="report_type">xlsx</field>
|
||||
<field name="report_file">report_trial_balance</field>
|
||||
</record>
|
||||
|
||||
<record id="action_report_open_items_xlsx" model="ir.actions.report">
|
||||
<field name="name">Open Items XLSX</field>
|
||||
<field name="model">report_open_items</field>
|
||||
<field name="type">ir.actions.report</field>
|
||||
<field name="report_name">a_f_r.report_open_items_xlsx</field>
|
||||
<field name="report_type">xlsx</field>
|
||||
<field name="report_file">report_open_items</field>
|
||||
</record>
|
||||
|
||||
<record id="action_report_aged_partner_balance_xlsx" model="ir.actions.report">
|
||||
<field name="name">Aged Partner Balance XLSX</field>
|
||||
<field name="model">report_aged_partner_balance</field>
|
||||
<field name="type">ir.actions.report</field>
|
||||
<field name="report_name">a_f_r.report_aged_partner_balance_xlsx</field>
|
||||
<field name="report_type">xlsx</field>
|
||||
<field name="report_file">report_aged_partner_balance</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user