1 <?xml version="1.0" encoding="utf-8"?>
4 <record id="view_account_chart" model="ir.ui.view">
5 <field name="name">account.chart.form</field>
6 <field name="model">account.chart</field>
7 <field name="type">form</field>
8 <field name="arch" type="xml">
9 <form string="Account charts" version="7.0">
11 <button icon="terp-gtk-go-back-rtl" string="Open Charts" name="account_chart_open_window" type="object" class="oe_highlight"/>
14 <field name="fiscalyear" on_change="onchange_fiscalyear(fiscalyear)"/>
15 <field name="target_move"/>
16 <label align="0.7" colspan="4" string="(If you do not select Fiscal year it will take all open fiscal years)"/>
17 <separator string="Periods" colspan="4"/>
18 <field name="period_from"/>
19 <field name="period_to"/>
25 <record id="action_account_chart" model="ir.actions.act_window">
26 <field name="name">Chart of Accounts</field>
27 <field name="res_model">account.chart</field>
28 <field name="view_type">form</field>
29 <field name="view_mode">tree,form</field>
30 <field name="view_id" ref="view_account_chart"/>
31 <field name="target">new</field>
32 <field name="help">Display your company chart of accounts per fiscal year and filter by period. Have a complete tree view of all journal items per account code by clicking on an account.</field>
35 <menuitem icon="STOCK_INDENT" action="action_account_chart"
36 id="menu_action_account_tree2"
37 parent="account.menu_finance_charts" />