<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
- <record id="view_account_chart" model="ir.ui.view">
+ <record id="view_account_chart" model="ir.ui.view">
<field name="name">account.chart.form</field>
<field name="model">account.chart</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Account charts">
- <group colspan="4" >
- <field name="fiscalyear"/>
- <label align="0.7" colspan="6" string="(If you do not select Fiscal year it will take all open fiscal years)"/>
- <field name="target_move"/>
+ <group colspan="4" >
+ <field name="fiscalyear"/>
+ <label align="0.7" colspan="6" string="(If you do not select Fiscal year it will take all open fiscal years)"/>
+ <field name="target_move"/>
</group>
- <separator string="" colspan="4" />
+ <separator string="" colspan="4" />
<group colspan="4" col="6">
- <label string ="" colspan="2"/>
- <button special="cancel" string="Cancel"/>
- <button string="Open Charts" name="_account_chart_open_window" type="object"/>
- </group>
- </form>
+ <label string ="" colspan="2"/>
+ <button icon="gtk-cancel" special="cancel" string="Cancel" />
+ <button icon="terp-gtk-go-back-rtl" string="Open Charts" name="account_chart_open_window" type="object" />
+ </group>
+ </form>
</field>
- </record>
- <record id="wizard_account_chart" model="ir.actions.act_window">
+ </record>
+
+ <record id="action_account_chart" model="ir.actions.act_window">
<field name="name">Chart of Accounts</field>
<field name="res_model">account.chart</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
- <field name="view_id" ref="view_account_chart"/>
- <field name="target">new</field>
+ <field name="view_id" ref="view_account_chart"/>
+ <field name="target">new</field>
</record>
+
+ <menuitem icon="STOCK_INDENT" action="action_account_chart"
+ id="menu_action_account_tree2"
+ parent="account.menu_finance_charts" />
</data>
</openerp>