2009-09-15 09:46:27 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
2012-10-25 09:15:44 +00:00
|
|
|
<!-- Mail template is done in a NOUPDATE block
|
|
|
|
so users can freely customize/delete them -->
|
|
|
|
<data noupdate="1">
|
2009-09-15 09:46:27 +00:00
|
|
|
|
2012-10-25 09:15:44 +00:00
|
|
|
<!--Email template -->
|
2012-11-02 09:36:31 +00:00
|
|
|
<record id="email_template_account_followup_level2" model="email.template">
|
|
|
|
<field name="name">Followup of overdue invoices level 2</field>
|
|
|
|
<field name="email_from">${user.email or ''}</field>
|
2012-10-25 09:15:44 +00:00
|
|
|
<field name="subject">${object.company_id.name} Followup</field>
|
|
|
|
<field name="email_to">${object.email}</field>
|
2012-10-26 15:11:25 +00:00
|
|
|
<field name="lang">${object.lang}</field>
|
2012-10-25 09:15:44 +00:00
|
|
|
<field name="model_id" ref="base.model_res_partner"/>
|
|
|
|
<field name="auto_delete" eval="True"/>
|
|
|
|
<field name="body_html"><![CDATA[
|
|
|
|
<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); ">
|
2012-10-29 12:41:18 +00:00
|
|
|
|
2012-11-02 09:36:31 +00:00
|
|
|
<p>Dear ${object.name and ' ' or ''},</p>
|
|
|
|
<p>
|
|
|
|
Despite several reminders, your account is still not settled.
|
|
|
|
Unless full payment is made in next 8 days, legal action for the recovery of the debt will be taken without
|
|
|
|
further notice.
|
|
|
|
I trust that this action will prove unnecessary and details of due payments is printed below.
|
|
|
|
In case of any queries concerning this matter, do not hesitate to contact our accounting department at (+32).10.68.94.39.
|
|
|
|
</p>
|
|
|
|
<br/>
|
|
|
|
Best Regards,
|
2012-10-30 11:05:21 +00:00
|
|
|
|
|
|
|
|
2012-11-02 09:36:31 +00:00
|
|
|
<table width=80%>
|
2012-10-30 11:05:21 +00:00
|
|
|
|
|
|
|
<tr>
|
2012-11-02 09:36:31 +00:00
|
|
|
<td>Invoice date</td>
|
|
|
|
<td>Reference</td>
|
|
|
|
<td>Maturity date</td>
|
|
|
|
<td>Amount</td>
|
|
|
|
<td>Lit.</td>
|
2012-10-30 11:05:21 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
% for aml in object.accountmoveline_ids :
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>
|
2012-11-02 09:36:31 +00:00
|
|
|
${aml.date}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
${aml.ref}
|
2012-10-30 11:05:21 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2012-11-02 09:36:31 +00:00
|
|
|
% if aml.date_maturity and aml.date_maturity > fields.date.context_today(cr, uid, context):
|
|
|
|
${aml.date_maturity}
|
|
|
|
% else:
|
|
|
|
${aml.date}
|
|
|
|
% endif
|
2012-10-30 11:05:21 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2012-11-02 09:36:31 +00:00
|
|
|
${aml.debit}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
% if aml.blocked:
|
|
|
|
X
|
|
|
|
% endif
|
2012-10-30 11:05:21 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
% endfor
|
2012-11-02 09:36:31 +00:00
|
|
|
</table>
|
2012-10-25 09:15:44 +00:00
|
|
|
<br/>
|
|
|
|
</div>
|
|
|
|
]]></field>
|
2009-09-15 09:46:27 +00:00
|
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</openerp>
|