reports.xml 4.44 KB
<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <!-- PDF REPORTS -->

    <report
      id="action_report_general_ledger_qweb"
      model="report_general_ledger_qweb"
      string="General Ledger"
      report_type="qweb-pdf"
      name="account_financial_report_qweb.report_general_ledger_qweb"
      file="account_financial_report_qweb.report_general_ledger_qweb"
      />

    <report
      id="action_report_trial_balance_qweb"
      model="report_trial_balance_qweb"
      string="Trial Balance"
      report_type="qweb-pdf"
      name="account_financial_report_qweb.report_trial_balance_qweb"
      file="account_financial_report_qweb.report_trial_balance_qweb"
      />

    <report
      id="action_report_open_items_qweb"
      model="report_open_items_qweb"
      string="Open Items"
      report_type="qweb-pdf"
      name="account_financial_report_qweb.report_open_items_qweb"
      file="account_financial_report_qweb.report_open_items_qweb"
    />

    <report
      id="action_report_aged_partner_balance_qweb"
      model="report_aged_partner_balance_qweb"
      string="Aged Partner Balance"
      report_type="qweb-pdf"
      name="account_financial_report_qweb.report_aged_partner_balance_qweb"
      file="account_financial_report_qweb.report_aged_partner_balance_qweb"
    />

    <!-- 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.xml">
        <field name="paperformat_id" ref="report_qweb_paperformat"/>
    </record>

    <record id="action_report_trial_balance_qweb" model="ir.actions.report.xml">
        <field name="paperformat_id" ref="report_qweb_paperformat"/>
    </record>

    <record id="action_report_open_items_qweb" model="ir.actions.report.xml">
        <field name="paperformat_id" ref="report_qweb_paperformat"/>
    </record>

    <record id="action_report_aged_partner_balance_qweb" model="ir.actions.report.xml">
        <field name="paperformat_id" ref="report_qweb_paperformat"/>
    </record>

    <!-- XLSX REPORTS -->

    <record id="action_report_general_ledger_xlsx" model="ir.actions.report.xml">
      <field name="name">General Ledger XLSX</field>
      <field name="model">report_general_ledger_qweb</field>
      <field name="type">ir.actions.report.xml</field>
      <field name="report_name">account_financial_report_qweb.report_general_ledger_xlsx</field>
      <field name="report_type">xlsx</field>
      <field name="auto" eval="False"/>
    </record>

    <record id="action_report_trial_balance_xlsx" model="ir.actions.report.xml">
      <field name="name">Trial Balance XLSX</field>
      <field name="model">report_trial_balance_qweb</field>
      <field name="type">ir.actions.report.xml</field>
      <field name="report_name">account_financial_report_qweb.report_trial_balance_xlsx</field>
      <field name="report_type">xlsx</field>
      <field name="auto" eval="False"/>
    </record>

    <record id="action_report_open_items_xlsx" model="ir.actions.report.xml">
      <field name="name">Open Items XLSX</field>
      <field name="model">report_open_items_qweb</field>
      <field name="type">ir.actions.report.xml</field>
      <field name="report_name">account_financial_report_qweb.report_open_items_xlsx</field>
      <field name="report_type">xlsx</field>
      <field name="auto" eval="False"/>
    </record>

    <record id="action_report_aged_partner_balance_xlsx" model="ir.actions.report.xml">
      <field name="name">Aged Partner Balance XLSX</field>
      <field name="model">report_aged_partner_balance_qweb</field>
      <field name="type">ir.actions.report.xml</field>
      <field name="report_name">account_financial_report_qweb.report_aged_partner_balance_xlsx</field>
      <field name="report_type">xlsx</field>
      <field name="auto" eval="False"/>
    </record>

</odoo>