1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="form_account_wizardChangeAnalyticPlanInstance" model="ir.ui.view">
<field name="name">Wizard Form Change Analytic Plan Instance</field>
<field name="model">account.wizard_change_analytic_plan_instance</field>
<field name="arch" type="xml">
<form string="Change Analytic Plan Instance" version="7.0">
<group col="2" colspan="4">
<field name="analytic_plan_id"/>
</group>
<footer>
<button name="change_analytic_plan" string="Create" colspan="1" type="object" class="oe_highlight"/>
or
<button special="cancel" string="Cancel" class="oe_link"/>
</footer>
</form>
</field>
</record>
<record id="action_account_wizardChangeAnalyticPlanInstance" model="ir.actions.act_window">
<field name="name">Change Analytic Plan Instance</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">account.wizard_change_analytic_plan_instance</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="form_account_wizardChangeAnalyticPlanInstance"/>
<field name="target">new</field>
<field name="multi">True</field>
</record>
<record id="waction_account_wizardChangeAnalyticPlanInstance" model="ir.values">
<field name="model_id" ref="account.model_account_move_line" />
<field name="name">Change Analytic Plan Instance</field>
<field name="key2">client_action_multi</field>
<field name="value" eval="'ir.actions.act_window,' + str(ref('action_account_wizardChangeAnalyticPlanInstance'))" />
<field name="key">action</field>
<field name="model">account.move.line</field>
</record>
</data>
</openerp>
|