-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwizard_poweremail.xml
More file actions
47 lines (45 loc) · 2.15 KB
/
wizard_poweremail.xml
File metadata and controls
47 lines (45 loc) · 2.15 KB
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
44
45
46
47
<openerp>
<data>
<record id="action_wizard_change_folder_email_form" model="ir.actions.act_window">
<field name="name">Canviar emails de carpeta</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">wizard.change.folder.email</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="value_wizard_change_folder_email_form" model="ir.values">
<field name="object" eval="1"/>
<field name="name">Canviar emails de carpeta</field>
<field name="key2">client_action_multi</field>
<field name="key">action</field>
<field name="model">poweremail.mailbox</field>
<field name="value"
eval="'ir.actions.act_window,'+str(ref('action_wizard_change_folder_email_form'))" />
</record>
<!--Finestra de dins de l'assistent-->
<record id="view_wizard_change_folder_email_form" model="ir.ui.view">
<field name="name">wizard.change.folder.email.form</field>
<field name="model">wizard.change.folder.email</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Canviar emails de carpeta">
<field name="state" invisible="1"/>
<group attrs="{'invisible': [('state','!=','init')]}">
<field name="folder" colspan="4" width="250"/>
<group colspan="4" col="2">
<button icon="gtk-close" special="cancel" string="Cancel·lar" type="object"/>
<button name="action_change_folder_email_form"
icon="gtk-ok" string="Endavant" type="object"/>
</group>
</group>
<group attrs="{'invisible': [('state','!=','end')]}">
<label string="Emails canviats de carpeta!" colspan="4"/>
<newline/>
<button icon="gtk-close" special="cancel" string="Finalitzar" type="object" colspan="4"/>
</group>
</form>
</field>
</record>
</data>
</openerp>