-
Notifications
You must be signed in to change notification settings - Fork 2
/
poweremail_send_wizard.xml
104 lines (102 loc) · 6.36 KB
/
poweremail_send_wizard.xml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="poweremail_send_wizard_form">
<field name="name">poweremail.send.wizard.form</field>
<field name="model">poweremail.send.wizard</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Send mail Wizard">
<group col="8" colspan="4" attrs="{'invisible':[('state','!=','send_type')]}">
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string="Check it if you want to send a single email for several records (the optional attachment will be generated as a single file for all these r
ecords). If you don't check it, an email with its optional attachment will be send for each record." colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="3"/>
<field name="single_email" colspan="4"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<label string=" " colspan="8"/>
<button icon="gtk-cancel" special="cancel" string="Cancel" colspan="2"/>
<label string=" "/>
<label string=" "/>
<label string=" "/>
<label string=" "/>
<button icon="gtk-ok" name="compute_second_step" string="OK" type="object" colspan="2"/>
</group>
<group col="4" colspan="4" attrs="{'invisible':[('state','=','send_type')]}">
<group col="4" colspan="4">
<field name="rel_model" colspan="2" />
<field name="from" attrs="{'required':[('state','!=','send_type')]}" colspan="2" />
<field name="priority" colspan="2"/>
</group>
<group col="4" colspan="4">
<group col="6" colspan="4">
<field name="to" select="1" colspan="4" />
<newline />
<field name="cc" select="2" colspan="4" />
<newline />
<field name="bcc" select="2" colspan="4" />
<newline />
<field name="subject" select="2" colspan="4" attrs="{'required':[('state','=','single')]}" />
<newline />
<field name="report" colspan="4" />
</group>
<separator string="" colspan="4" />
<notebook colspan="4">
<page string="Body (Plain Text)">
<field name="body_text" select="2" colspan="4" nolabel="1" height="400" width="700"/>
</page>
<page string="Body (HTML)">
<field name="body_html" select="2" colspan="4" nolabel="1" height="400" width="700"/>
<!--<label string="Note: HTML body can't be edited with GTK desktop client." colspan="4"/>-->
</page>
<page string="Attachments">
<label string="Add here all attachments of the current document you want to include in the e-mail." colspan="4"/>
<field name="attachment_ids" colspan="4" nolabel="1"/>
</page>
</notebook>
<field name="signature" colspan="4" />
</group>
<group col="4" colspan="4" attrs="{'invisible':[('state','!=','single')]}">
<button icon="gtk-apply" name="sav_to_drafts" string="Save in Drafts" type="object" />
<button icon="gtk-ok" name="send_mail" string="Send now" type="object" />
<button icon="gtk-cancel" special="cancel" string="Discard Mail" />
</group>
<group col="4" colspan="4" attrs="{'invisible':[('state','=','single')]}">
<label string="Tip: Multiple emails are sent in the same language (the first one is proposed). We suggest you send emails in groups according to langu
age." colspan="4"/>
<field name="requested" />
<field name="generated" />
<button icon="gtk-ok" name="get_generated" string="Send all mails" type="object" states="multi" colspan="2" />
<button icon="gtk-cancel" special="cancel" string="Discard Mail" colspan="2" states="multi" />
</group>
<button icon="gtk-ok" special="cancel" string="Close" colspan="4" states="done" />
<field name="state" />
<newline />
<label string="After clicking send all mails, mails will be sent to outbox and cleared in next Send/Recieve" colspan="4"/>
</group>
</form>
</field>
</record>
</data>
</openerp>