3 <record id="view_account_configuration_installer" model="ir.ui.view">
4 <field name="name">account.installer.form</field>
5 <field name="model">account.installer</field>
6 <field name="type">form</field>
7 <field name="inherit_id" ref="base.res_config_installer"/>
8 <field name="arch" type="xml">
10 <form position="attributes">
11 <attribute name="string">Accounting Application Configuration</attribute>
13 <separator string="title" position="attributes">
14 <attribute name="string">Configure Your Accounting System</attribute>
16 <xpath expr="//label[@string='description']" position="attributes">
17 <attribute name="string">Configure your accounting system. By default, Chart of Account is matching to your country. If there are not chart of account certified for your county, you can install the generic chart of account.</attribute>
19 <xpath expr="//button[@string='Install Modules']" position="attributes">
20 <attribute name="string">Configure</attribute>
22 <xpath expr='//separator[@string="vsep"]' position='attributes'>
23 <attribute name='rowspan'>23</attribute>
24 <attribute name='string'></attribute>
27 <group colspan="4" height="450" width="600">
28 <field name="charts"/>
30 <separator col="4" colspan="4" string="Configure Fiscal Year"/>
31 <field name="company_id" colspan="4" widget="selection" groups="base.group_multi_company"/>
32 <field name="date_start" on_change="on_change_start_date(date_start)"/>
33 <field name="date_stop"/>
34 <field name="period" colspan="4"/>
36 <group colspan="4" attrs="{'invisible':[('charts','!=','configurable')]}">
37 <separator col="4" colspan="4" string="Bank and Cost Account"/>
38 <field colspan="4" mode="tree" height="200" name="bank_accounts_id" nolabel="1" widget="one2many_list">
40 <field name="acc_name"/>
41 <field name="account_type"/>
42 <field name="currency_id" widget="selection"/>
44 <tree editable="bottom" string="">
45 <field name="acc_name"/>
46 <field name="account_type"/>
47 <field name="currency_id" widget="selection"/>
51 <group colspan="4" attrs="{'invisible':[('charts','!=','configurable')]}">
52 <field name="sale_tax" colspan="2" on_change="on_change_tax(sale_tax)"/>
53 <field name="purchase_tax" colspan="2" />
61 <record id="view_account_modules_installer" model="ir.ui.view">
62 <field name="name">account.installer.modules.form</field>
63 <field name="model">account.installer.modules</field>
64 <field name="type">form</field>
65 <field name="inherit_id" ref="base.res_config_installer"/>
66 <field name="arch" type="xml">
68 <form position="attributes">
69 <attribute name="string">Accounting Application Configuration</attribute>
71 <separator string="title" position="attributes">
72 <attribute name="string">Extra Accounting Applications</attribute>
74 <xpath expr="//label[@string='description']" position="attributes">
75 <attribute name="string">From this screen, you can install extra accounting applications in your accounting system. Select the applications to directly install them. If you do not think you need any of these right now, you can easily install them later.</attribute>
77 <xpath expr='//separator[@string="vsep"]' position='attributes'>
78 <attribute name='string'></attribute>
81 <field name="account_voucher"/>
82 <field name="account_followup"/>
83 <field name="account_payment"/>
84 <field name="account_analytic_plans"/>
85 <field name="account_anglo_saxon"/>
86 <!-- <field name="account_voucher_payment"/>-->
92 <record id="action_account_configuration_installer" model="ir.actions.act_window">
93 <field name="name">Accounting Chart Configuration</field>
94 <field name="type">ir.actions.act_window</field>
95 <field name="res_model">account.installer</field>
96 <field name="view_id" ref="view_account_configuration_installer"/>
97 <field name="view_type">form</field>
98 <field name="view_mode">form</field>
99 <field name="target">new</field>
102 <record id="action_account_installer" model="ir.actions.act_window">
103 <field name="name">Accounting Applications Installation</field>
104 <field name="type">ir.actions.act_window</field>
105 <field name="res_model">account.installer.modules</field>
106 <field name="view_id" ref="view_account_modules_installer"/>
107 <field name="view_type">form</field>
108 <field name="view_mode">form</field>
109 <field name="target">new</field>
112 <record id="account_configuration_installer_todo" model="ir.actions.todo">
113 <field name="action_id" ref="action_account_configuration_installer"/>
114 <field name="sequence">3</field>
115 <field name="restart">onskip</field>
118 <record id="account_installer_todo" model="ir.actions.todo">
119 <field name="action_id" ref="action_account_installer"/>
120 <field name="sequence">5</field>
121 <field name="restart">always</field>
122 <field eval="[(6,0,[ref('base.group_extended')])]" name="groups_id"/>