-
Notifications
You must be signed in to change notification settings - Fork 2
/
poweremail_demo.xml
88 lines (78 loc) · 2.76 KB
/
poweremail_demo.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
<?xml version="1.0"?>
<openerp>
<data>
<record model="poweremail.templates" id="default_template_poweremail">
<field name="name">Plantilla poweremail test</field>
<field name="object_name" model="ir.model" search="[('model', '=', 'res.users')]"/>
<field eval="0" name="save_to_drafts"/>
<field name="model_int_name">res.users</field>
<field eval="0" name="use_filter"/>
<field name="file_name">${object.number}</field>
<field name="def_to">${object.address_invoice_id.email}</field>
<field eval="0" name="auto_email"/>
<field eval="0" name="single_email"/>
<field eval="0" name="use_sign"/>
<field name="def_subject">Factura ${object.number}</field>
<field name="template_language">mako</field>
<field eval="0" name="send_on_create"/>
<field name="lang">${object.partner_id.lang}</field>
<field name="copyvalue">${object.partner_id.lang}</field>
<field eval="0" name="send_on_write"/>
<field name="def_body_text">
<![CDATA[
<!doctype html>
<html>
<head></head>
<body>
Benvolgut/da ${object.login},
Això és un email generic de prova per les poweremail_camapign.
Atentament,
un mort de gana.
</body>
</html>
]]>
</field>
</record>
<record model="poweremail.templates" id="default_template_poweremail_2">
<field name="name">Plantilla poweremail test 2</field>
<field name="object_name" model="ir.model" search="[('model', '=', 'res.users')]"/>
<field eval="0" name="save_to_drafts"/>
<field name="model_int_name">res.users</field>
<field eval="0" name="use_filter"/>
<field name="file_name">${object.number}</field>
<field name="def_to">${object.address_invoice_id.email}</field>
<field eval="0" name="auto_email"/>
<field eval="0" name="single_email"/>
<field eval="0" name="use_sign"/>
<field name="def_subject">Factura ${object.number}</field>
<field name="template_language">mako</field>
<field eval="0" name="send_on_create"/>
<field name="lang">${object.partner_id.lang}</field>
<field name="copyvalue">${object.partner_id.lang}</field>
<field eval="0" name="send_on_write"/>
<field name="def_body_text">
<![CDATA[
<!doctype html>
<html>
<head></head>
<body>
Benvolgut/da ${object.login},
Això és un email generic de prova per les poweremail_camapign.
Atentament,
un mort de gana.
</body>
</html>
]]>
</field>
</record>
<record model="poweremail.core_accounts" id="info_energia_from_email">
<field name="email_id">patata@patata</field>
<field name="company">yes</field>
<field name="smtpserver">test.com</field>
<field name="send_pref">html</field>
<field name="name">Info-fiscal patata</field>
<field name="state">approved</field>
<field name="smtpport">587</field>
</record>
</data>
</openerp>