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="arch" type="xml">
8 <form string="Account charts" version="7.0">
10 <label for="fiscalyear"/>
12 <field name="fiscalyear" on_change="onchange_fiscalyear(fiscalyear)" class="oe_inline"/>
13 <label align="0.7" string="(If you do not select Fiscal year it will take all open fiscal years)" class="oe_inline"/>
15 <field name="target_move"/>
16 <label for="period_from" string="Periods"/>
18 <field name="period_from" class="oe_inline"/> -
19 <field name="period_to" class="oe_inline"/>
23 <button string="Open Charts" name="account_chart_open_window" type="object" class="oe_highlight"/>
25 <button string="Cancel" class="oe_link" special="cancel"/>
31 <record id="action_account_chart" model="ir.actions.act_window">
32 <field name="name">Chart of Accounts</field>
33 <field name="res_model">account.chart</field>
34 <field name="view_type">form</field>
35 <field name="view_mode">tree,form</field>
36 <field name="view_id" ref="view_account_chart"/>
37 <field name="target">new</field>
40 <menuitem icon="STOCK_INDENT" action="action_account_chart"
41 id="menu_action_account_tree2"
42 parent="account.menu_finance_charts" />