[IMP] website crawler log show query/s
[odoo/odoo.git] / addons / account_followup / account_followup_data.xml
1 <?xml version="1.0"?>
2 <openerp>
3     <!-- Mail template is done in a NOUPDATE block
4          so users can freely customize/delete them -->
5     <data noupdate="1">
6         <!--Mail template level 0-->
7         <record id="email_template_account_followup_level0" model="email.template">
8             <field name="name">First polite payment follow-up reminder email</field>
9             <field name="email_from">${(user.email or '')|safe}</field>
10             <field name="subject">${user.company_id.name} Payment Reminder</field>
11             <field name="email_to">${object.email|safe}</field>
12             <field name="lang">${object.lang}</field>
13             <field name="model_id" ref="base.model_res_partner"/>
14             <field name="auto_delete" eval="True"/>
15             <field name="body_html"><![CDATA[
16 <div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); ">
17
18     <p>Dear ${object.name},</p>
19     <p>
20     Exception made if there was a mistake of ours, it seems that the following amount stays unpaid. Please, take
21 appropriate measures in order to carry out this payment in the next 8 days.
22
23 Would your payment have been carried out after this mail was sent, please ignore this message. Do not hesitate to
24 contact our accounting department.  
25
26     </p>
27 <br/>
28 Best Regards,
29 <br/>
30    <br/>
31 ${user.name}
32
33 <br/>
34 <br/>
35
36
37 ${object.get_followup_table_html() | safe}
38
39     <br/>
40
41 </div>
42             ]]></field>
43         </record>
44
45         <!--Mail template level 1 -->
46         <record id="email_template_account_followup_level1" model="email.template">
47             <field name="name">A bit urging second payment follow-up reminder email</field>
48             <field name="email_from">${(user.email or '')|safe}</field>
49             <field name="subject">${user.company_id.name} Payment Reminder</field>
50             <field name="email_to">${object.email|safe}</field>
51             <field name="lang">${object.lang}</field>
52             <field name="model_id" ref="base.model_res_partner"/>
53             <field name="auto_delete" eval="True"/>
54             <field name="body_html"><![CDATA[
55 <div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); ">
56     
57     <p>Dear ${object.name},</p>
58    <p>
59     We are disappointed to see that despite sending a reminder, that your account is now seriously overdue.
60 It is essential that immediate payment is made, otherwise we will have to consider placing a stop on your account
61 which means that we will no longer be able to supply your company with (goods/services).
62 Please, take appropriate measures in order to carry out this payment in the next 8 days.
63 If there is a problem with paying invoice that we are not aware of, do not hesitate to contact our accounting
64 department. so that we can resolve the matter quickly.
65 Details of due payments is printed below.
66  </p>
67 <br/>
68 Best Regards,
69     
70 <br/>
71 <br/>
72 ${user.name}
73     
74 <br/>
75 <br/>
76
77 ${object.get_followup_table_html() | safe}
78
79     <br/>
80
81 </div>
82             ]]></field>
83         </record>
84
85         <!--Mail template level 2 -->
86         <record id="email_template_account_followup_level2" model="email.template">
87             <field name="name">Urging payment follow-up reminder email</field>
88             <field name="email_from">${(user.email or '')|safe}</field>
89             <field name="subject">${user.company_id.name} Payment Reminder</field>
90             <field name="email_to">${object.email|safe}</field>
91             <field name="lang">${object.lang}</field>
92             <field name="model_id" ref="base.model_res_partner"/>
93             <field name="auto_delete" eval="True"/>
94             <field name="body_html"><![CDATA[
95 <div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); ">
96     
97     <p>Dear ${object.name},</p>
98     <p>
99     Despite several reminders, your account is still not settled.
100 Unless full payment is made in next 8 days, legal action for the recovery of the debt will be taken without
101 further notice.
102 I trust that this action will prove unnecessary and details of due payments is printed below.
103 In case of any queries concerning this matter, do not hesitate to contact our accounting department.
104 </p>
105 <br/>
106 Best Regards,
107 <br/>
108 <br/>
109 ${user.name}
110 <br/>
111 <br/>
112
113
114 ${object.get_followup_table_html() | safe}
115
116     <br/>
117
118 </div>
119             ]]></field>
120         </record>
121         
122         <!-- Default follow up message -->
123         <record id="email_template_account_followup_default" model="email.template">
124             <field name="name">Default payment follow-up reminder e-mail</field>
125             <field name="email_from">${(user.email or '')|safe}</field>
126             <field name="subject">${user.company_id.name} Payment Reminder</field>
127             <field name="email_to">${object.email|safe}</field>
128             <field name="lang">${object.lang}</field>
129             <field name="model_id" ref="base.model_res_partner"/>
130             <field name="auto_delete" eval="True"/>
131             <field name="body_html"><![CDATA[
132 <div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); ">
133     
134     <p>Dear ${object.name},</p>
135     <p>
136     Exception made if there was a mistake of ours, it seems that the following amount stays unpaid. Please, take
137 appropriate measures in order to carry out this payment in the next 8 days.
138 Would your payment have been carried out after this mail was sent, please ignore this message. Do not hesitate to
139 contact our accounting department.
140     </p>
141 <br/>
142 Best Regards,
143 <br/>
144 <br/>
145 ${user.name}
146 <br/>
147 <br/>
148
149 ${object.get_followup_table_html() | safe}
150
151 <br/>
152 </div>
153             ]]></field>
154         </record>
155
156         <record id="demo_followup1" model="account_followup.followup" forcecreate="False">
157             <field name="company_id" ref="base.main_company"/>
158         </record>
159
160         <record id="demo_followup_line1" model="account_followup.followup.line" forcecreate="False">
161             <field name="name">Send first reminder email</field>
162             <field name="sequence">0</field>
163             <field name="delay">15</field>
164             <field name="followup_id" ref="demo_followup1"/>
165             <field name="send_email">True</field>
166             <field name="description">
167 Dear %(partner_name)s,
168
169 Exception made if there was a mistake of ours, it seems that the following amount stays unpaid. Please, take appropriate measures in order to carry out this payment in the next 8 days.
170
171 Would your payment have been carried out after this mail was sent, please ignore this message. Do not hesitate to contact our accounting department.  
172
173 Best Regards,
174 </field>
175             <field name="email_template_id" ref="email_template_account_followup_level0"/>
176         </record>
177
178         <record id="demo_followup_line2" model="account_followup.followup.line" forcecreate="False">
179             <field name="name">Send reminder letter and email</field>
180             <field name="sequence">1</field>
181             <field name="delay">30</field>
182             <field name="followup_id" ref="demo_followup1"/>
183             <field name="email_template_id" ref="email_template_account_followup_level1"/>
184             <field name="send_email">True</field>
185             <field name="send_letter">True</field>
186             <field name="description">
187 Dear %(partner_name)s,
188
189 We are disappointed to see that despite sending a reminder, that your account is now seriously overdue.
190
191 It is essential that immediate payment is made, otherwise we will have to consider placing a stop on your account which means that we will no longer be able to supply your company with (goods/services).
192 Please, take appropriate measures in order to carry out this payment in the next 8 days.
193
194 If there is a problem with paying invoice that we are not aware of, do not hesitate to contact our accounting department, so that we can resolve the matter quickly.
195
196 Details of due payments is printed below.
197
198 Best Regards,
199 </field>
200         </record>
201
202         <record id="demo_followup_line3" model="account_followup.followup.line" forcecreate="False">
203             <field name="name">Call the customer on the phone</field>
204             <field name="sequence">3</field>
205             <field name="delay">40</field>
206             <field name="followup_id" ref="demo_followup1"/>
207             <field name="email_template_id" ref="email_template_account_followup_level2"/>
208             <field eval="False" name="send_email"/>
209             <field name="manual_action">True</field>
210             <field name="manual_action_note">Call the customer on the phone! </field>
211             <field name="description">
212 Dear %(partner_name)s,
213
214 Despite several reminders, your account is still not settled.
215
216 Unless full payment is made in next 8 days, then legal action for the recovery of the debt will be taken without further notice.
217
218 I trust that this action will prove unnecessary and details of due payments is printed below.
219
220 In case of any queries concerning this matter, do not hesitate to contact our accounting department.
221
222 Best Regards,
223 </field>
224         </record>
225     </data>
226 </openerp>