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">
11 <field name="fiscalyear" on_change="onchange_fiscalyear(fiscalyear)"/>
12 <field name="target_move"/>
13 <label align="0.7" colspan="4" string="(If you do not select Fiscal year it will take all open fiscal years)"/>
14 <separator string="Periods" colspan="4"/>
15 <field name="period_from"/>
16 <field name="period_to"/>
18 <separator string="" colspan="4"/>
19 <group colspan="4" col="6">
20 <button icon="gtk-cancel" special="cancel" string="Cancel"/>
21 <button icon="terp-gtk-go-back-rtl" string="Open Charts" name="account_chart_open_window" type="object"/>
27 <record id="action_account_chart" model="ir.actions.act_window">
28 <field name="name">Chart of Accounts</field>
29 <field name="res_model">account.chart</field>
30 <field name="view_type">form</field>
31 <field name="view_mode">tree,form</field>
32 <field name="view_id" ref="view_account_chart"/>
33 <field name="target">new</field>
34 <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>
37 <menuitem icon="STOCK_INDENT" action="action_account_chart"
38 id="menu_action_account_tree2"
39 parent="account.menu_finance_charts" />