flectra/addons/account_cash_flow/wizard/account_cash_flow.xml
2018-04-19 14:29:27 +05:30

35 lines
1.5 KiB
XML

<?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">
<field name="journal_ids" position="replace"/>
<xpath expr="//field[@name='date_from']" position="before">
<field name="no_of_year"/>
<field name="company_id"/>
</xpath>
<xpath expr="//field[@name='date_from']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='date_to']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
</field>
</record>
<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>
<menuitem id="menu_cash_flow_report" name="Cash Flow"
parent="account.menu_finance_legal_statement"
action="account_cash_flow.action_account_cash_flow"/>
</flectra>