You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.7 KiB
41 lines
1.7 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="accounting_report_view" model="ir.ui.view">
|
|
<field name="name">Accounting Report</field>
|
|
<field name="model">accounting.report</field>
|
|
<field name="inherit_id" ref="account.account_common_report_view"/>
|
|
<field name="arch" type="xml">
|
|
<field name="target_move" position="before">
|
|
<field name="account_report_id" domain="[('parent_id','=',False)]"/>
|
|
</field>
|
|
<field name="date_to" position="after">
|
|
<field name="debit_credit"/>
|
|
</field>
|
|
<field name="journal_ids" position="replace"/>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_account_report_cfs" model="ir.actions.act_window">
|
|
<field name="name">Cash Flow Statement</field>
|
|
<field name="res_model">accounting.report</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="view_id" ref="accounting_report_view"/>
|
|
<field name="target">new</field>
|
|
<field name="context"
|
|
eval="{'default_account_report_id':ref('cash_flow_statement.account_financial_report_cash_flow0')}"/>
|
|
</record>
|
|
<menuitem id="menu_financial_reports"
|
|
name="Financial reports"
|
|
sequence="1"
|
|
parent="account.menu_finance_reports"
|
|
groups="account.group_account_user"/>
|
|
<menuitem id="menu_account_report_cfs"
|
|
name="Cash Flow Statement"
|
|
sequence="5"
|
|
action="action_account_report_cfs"
|
|
parent="menu_financial_reports"
|
|
groups="account.group_account_user"/>
|
|
|
|
</odoo>
|
|
|