[IMP] account: Improve the code so it will consider the check box display_details_per...
[odoo/odoo.git] / addons / account / wizard / account_chart_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
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">
10                     <group colspan="4">
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"/>
17                     </group>
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"/>
22                     </group>
23                 </form>
24             </field>
25         </record>
26
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>
35         </record>
36
37         <menuitem icon="STOCK_INDENT" action="action_account_chart"
38             id="menu_action_account_tree2"
39             parent="account.menu_finance_charts" />
40     </data>
41 </openerp>