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" >
2012-11-06 17:15:22 +00:00
<!-- Mail template level 0 -->
<record id= "email_template_account_followup_level0" model= "email.template" >
2012-11-12 17:38:57 +00:00
<field name= "name" > Follow-up of overdue invoices level 0</field>
2012-12-05 14:41:47 +00:00
<field name= "email_from" > ${user.email or '' | h}</field>
<field name= "subject" > ${user.company_id.name | h} Payment Reminder</field>
<field name= "email_to" > ${object.email | h}</field>
<field name= "lang" > ${object.lang | h}</field>
2012-11-06 17:15:22 +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-11-30 15:42:08 +00:00
2012-12-05 14:41:47 +00:00
<p > Dear ${object.name | h},</p>
2012-11-06 17:15:22 +00:00
<p >
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.
2012-11-30 15:42:08 +00:00
2012-11-06 17:15:22 +00:00
Would your payment have been carried out after this mail was sent, please ignore this message. Do not hesitate to
2012-12-05 14:41:47 +00:00
contact our accounting department.
2012-11-29 13:53:46 +00:00
2012-11-06 17:15:22 +00:00
</p>
<br />
Best Regards,
2009-09-15 09:46:27 +00:00
2012-11-08 14:14:57 +00:00
<br />
2012-12-05 14:41:47 +00:00
${user.name | h}
2012-11-30 15:42:08 +00:00
2012-11-08 14:14:57 +00:00
<br />
<br />
2012-12-05 14:41:47 +00:00
2012-11-30 15:42:08 +00:00
< %
from openerp.addons.account_followup.report import account_followup_print
rml_parse = account_followup_print.report_rappel(object._cr, user.id, "followup_rml_parser")
2012-12-05 14:41:47 +00:00
followup_table = rml_parse.get_unreconciled_table(object, user.company_id, ctx)
2012-11-08 14:14:57 +00:00
%>
2012-12-05 14:41:47 +00:00
${followup_table | h}
2012-11-30 15:42:08 +00:00
2012-11-06 17:15:22 +00:00
<br />
2012-11-23 15:42:33 +00:00
2012-11-06 17:15:22 +00:00
</div>
]]></field>
</record>
<!-- Mail template level 1 -->
<record id= "email_template_account_followup_level1" model= "email.template" >
2012-11-12 17:38:57 +00:00
<field name= "name" > Follow-up of overdue invoices level 1</field>
2012-12-05 14:41:47 +00:00
<field name= "email_from" > ${user.email or '' | h}</field>
<field name= "subject" > ${user.company_id.name | h} Payment Reminder</field>
<field name= "email_to" > ${object.email | h}</field>
<field name= "lang" > ${object.lang | h}</field>
2012-11-06 17:15:22 +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-12-05 14:41:47 +00:00
<p > Dear ${object.name | h},</p>
2012-11-06 17:15:22 +00:00
<p >
We are disappointed to see that despite sending a reminder, that your account is now seriously overdue.
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).
Please, take appropriate measures in order to carry out this payment in the next 8 days.
If there is a problem with paying invoice that we are not aware of, do not hesitate to contact our accounting
2012-12-05 14:41:47 +00:00
department. so that we can resolve the matter quickly.
2012-11-06 17:15:22 +00:00
Details of due payments is printed below.
</p>
<br />
Best Regards,
2012-11-08 14:14:57 +00:00
<br />
2012-12-05 14:41:47 +00:00
${user.name | h}
2012-11-08 14:14:57 +00:00
<br />
<br />
2012-11-06 17:15:22 +00:00
2012-11-30 15:42:08 +00:00
< %
from openerp.addons.account_followup.report import account_followup_print
rml_parse = account_followup_print.report_rappel(object._cr, user.id, "followup_rml_parser")
2012-12-05 14:41:47 +00:00
followup_table = rml_parse.get_unreconciled_table(object, user.company_id, ctx)
2012-11-08 14:14:57 +00:00
%>
2012-12-05 14:41:47 +00:00
${followup_table | h}
2012-11-30 15:42:08 +00:00
2012-11-06 17:15:22 +00:00
<br />
2012-11-23 15:42:33 +00:00
2012-11-06 17:15:22 +00:00
</div>
]]></field>
</record>
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" >
2012-11-12 17:38:57 +00:00
<field name= "name" > Follow-up of overdue invoices level 2</field>
2012-12-05 14:41:47 +00:00
<field name= "email_from" > ${user.email or '' | h}</field>
<field name= "subject" > ${user.company_id.name | h} Payment Reminder</field>
<field name= "email_to" > ${object.email | h}</field>
<field name= "lang" > ${object.lang | h}</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-12-05 14:41:47 +00:00
<p > Dear ${object.name | h},</p>
2012-11-02 09:36:31 +00:00
<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.
2012-12-05 14:41:47 +00:00
In case of any queries concerning this matter, do not hesitate to contact our accounting department.
2012-11-02 09:36:31 +00:00
</p>
<br />
Best Regards,
2012-11-08 14:14:57 +00:00
<br />
2012-12-05 14:41:47 +00:00
${user.name | h}
2012-11-08 14:14:57 +00:00
<br />
<br />
2012-10-30 11:05:21 +00:00
2012-11-30 15:42:08 +00:00
< %
from openerp.addons.account_followup.report import account_followup_print
rml_parse = account_followup_print.report_rappel(object._cr, user.id, "followup_rml_parser")
2012-12-05 14:41:47 +00:00
followup_table = rml_parse.get_unreconciled_table(object, user.company_id, ctx)
2012-11-08 14:14:57 +00:00
%>
2012-12-05 14:41:47 +00:00
${object.followup_table(object, user) | h}
2012-11-30 15:42:08 +00:00
2012-10-25 09:15:44 +00:00
<br />
2012-11-23 15:42:33 +00:00
2012-10-25 09:15:44 +00:00
</div>
]]></field>
2009-09-15 09:46:27 +00:00
</record>
2012-11-06 17:15:22 +00:00
<!-- Default follow up message -->
<record id= "email_template_account_followup_default" model= "email.template" >
<field name= "name" > Default follow-up of overdue invoices</field>
2012-12-05 14:41:47 +00:00
<field name= "email_from" > ${user.email or '' | h}</field>
<field name= "subject" > ${user.company_id.name | h} Payment Reminder</field>
<field name= "email_to" > ${object.email | h}</field>
<field name= "lang" > ${object.lang | h}</field>
2012-11-06 17:15:22 +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-12-05 14:41:47 +00:00
<p > Dear ${object.name | h},</p>
2012-11-06 17:15:22 +00:00
<p >
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.
Would your payment have been carried out after this mail was sent, please ignore this message. Do not hesitate to
2012-12-05 14:41:47 +00:00
contact our accounting department.
2012-11-06 17:15:22 +00:00
</p>
<br />
Best Regards,
</br>
</br>
2012-11-08 14:14:57 +00:00
<br />
2012-12-05 14:41:47 +00:00
${user.name | h}
2012-11-08 14:14:57 +00:00
<br />
<br />
2012-11-30 15:42:08 +00:00
< %
from openerp.addons.account_followup.report import account_followup_print
rml_parse = account_followup_print.report_rappel(object._cr, user.id, "followup_rml_parser")
2012-12-05 14:41:47 +00:00
followup_table = rml_parse.get_unreconciled_table(object, user.company_id, ctx)
2012-11-08 14:14:57 +00:00
%>
2012-12-05 14:41:47 +00:00
${followup_table | h}
2012-11-23 15:42:33 +00:00
2012-12-05 14:41:47 +00:00
<br />
2012-11-06 17:15:22 +00:00
</div>
]]></field>
2009-09-15 09:46:27 +00:00
</record>
2012-11-23 17:12:36 +00:00
<record id= "demo_followup1" model= "account_followup.followup" >
<field name= "company_id" ref= "base.main_company" />
</record>
<record id= "demo_followup_line1" model= "account_followup.followup.line" >
<field name= "name" > Send first reminder email</field>
<field name= "sequence" > 0</field>
<field name= "delay" > 15</field>
<field name= "followup_id" ref= "demo_followup1" />
<field name= "send-email" > True</field>
<field name= "description" >
Dear %(partner_name)s,
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.
2012-12-05 14:41:47 +00:00
Would your payment have been carried out after this mail was sent, please ignore this message. Do not hesitate to contact our accounting department.
2012-11-23 17:12:36 +00:00
Best Regards,
</field>
<field name= "email_template_id" ref= "email_template_account_followup_level0" />
</record>
<record id= "demo_followup_line2" model= "account_followup.followup.line" >
<field name= "name" > Send reminder letter and email</field>
<field name= "sequence" > 1</field>
<field name= "delay" > 30</field>
<field name= "followup_id" ref= "demo_followup1" />
<field name= "email_template_id" ref= "email_template_account_followup_level1" />
<field name= "send_email" > True</field>
<field name= "send_letter" > True</field>
<field name= "description" >
Dear %(partner_name)s,
We are disappointed to see that despite sending a reminder, that your account is now seriously overdue.
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).
Please, take appropriate measures in order to carry out this payment in the next 8 days.
2012-12-05 14:41:47 +00:00
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.
2012-11-23 17:12:36 +00:00
Details of due payments is printed below.
Best Regards,
</field>
</record>
<record id= "demo_followup_line3" model= "account_followup.followup.line" >
<field name= "name" > Call the customer on the phone</field>
<field name= "sequence" > 3</field>
<field name= "delay" > 40</field>
<field name= "followup_id" ref= "demo_followup1" />
<field name= "email_template_id" ref= "email_template_account_followup_level2" />
<field eval= "False" name= "send_email" />
<field name= "manual_action" > True</field>
<field name= "manual_action_note" > Call the customer on the phone! </field>
<field name= "description" >
Dear %(partner_name)s,
Despite several reminders, your account is still not settled.
Unless full payment is made in next 8 days, then 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.
2012-12-05 14:41:47 +00:00
In case of any queries concerning this matter, do not hesitate to contact our accounting department.
2012-11-23 17:12:36 +00:00
Best Regards,
</field>
</record>
2009-09-15 09:46:27 +00:00
</data>
</openerp>