flectra/addons/account_cash_flow/wizard/account_cash_flow.xml

35 lines
1.5 KiB
XML
Raw Normal View History

2018-04-12 09:06:47 +02:00
<?xml version="1.0"?>
<flectra>
<record id="view_account_cash_flow_from" model="ir.ui.view">
<field name="name">account.cash.flow.form</field>
<field name="model">account.cash.flow</field>
<field name="inherit_id" ref="account.account_common_report_view"/>
<field name="arch" type="xml">
2018-04-19 07:36:14 +02:00
<field name="journal_ids" position="replace"/>
<xpath expr="//field[@name='date_from']" position="before">
<field name="no_of_year"/>
<field name="company_id"/>
</xpath>
2018-04-12 09:06:47 +02:00
<xpath expr="//field[@name='date_from']" position="attributes">
2018-04-19 07:36:14 +02:00
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='date_to']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
2018-04-12 09:06:47 +02:00
</field>
</record>
2018-04-19 07:36:14 +02:00
<record model="ir.actions.act_window" id="action_account_cash_flow">
<field name="name">Cash Flow</field>
<field name="res_model">account.cash.flow</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_account_cash_flow_from"/>
<field name="context">{}</field>
<field name="target">new</field>
</record>
2018-04-12 09:06:47 +02:00
<menuitem id="menu_cash_flow_report" name="Cash Flow"
parent="account.menu_finance_legal_statement"
2018-04-19 07:36:14 +02:00
action="account_cash_flow.action_account_cash_flow"/>
2018-04-12 09:06:47 +02:00
</flectra>