summaryrefslogtreecommitdiff
path: root/addons/test_mail/data/template_data.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-04-21 16:02:30 +0000
committerThibault Delavallée <tde@odoo.com>2020-04-22 08:39:46 +0000
commitba068ee7283a36cff4b20d6c157e3b0454257f82 (patch)
tree25b91e11c55df6169220311440df5f63c9236cf8 /addons/test_mail/data/template_data.xml
parent6e347b196d4bf40929d88ab2c835ba3fbc4dac7d (diff)
[REF] test_mail: rename test models to ease understanding
PURPOSE Have a cleaner test_mail addons SPECIFICATIONS Keep only mail-related tests, move odoobot in test mail full, send "update notification" tests in mail (specific to mail). Merge some test files to lessen number of files, perform light file renaming. Split test mail models file to prepare some cleaning in those models and tests. LINKS Prepares Task ID 2238597 (clean notification models) Prepares Task ID 2083854 (improve mass mailing technical flows) PR #49891
Diffstat (limited to 'addons/test_mail/data/template_data.xml')
-rw-r--r--addons/test_mail/data/template_data.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/test_mail/data/template_data.xml b/addons/test_mail/data/template_data.xml
index 35bdbedd7a2..4716060d444 100644
--- a/addons/test_mail/data/template_data.xml
+++ b/addons/test_mail/data/template_data.xml
@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
- <record id="mail_test_full_tracking_tpl" model="mail.template">
+ <record id="mail_test_ticket_tracking_tpl" model="mail.template">
<field name="name">Mail Test Full: Tracking Template</field>
<field name="subject">Test Template</field>
<field name="partner_to">${object.customer_id.id | safe}</field>
<field name="body_html" type="xml"><p>Hello ${object.name}</p></field>
- <field name="model_id" ref="test_mail.model_mail_test_full"/>
+ <field name="model_id" ref="test_mail.model_mail_test_ticket"/>
<field name="auto_delete" eval="True"/>
</record>
- <record id="mail_test_tpl" model="mail.template">
+ <record id="mail_test_container_tpl" model="mail.template">
<field name="name">Mail Test: Template</field>
<field name="subject">Post on ${object.name}</field>
<field name="partner_to">${object.customer_id.id}</field>
<field name="body_html" type="xml"><p>Adding stuff on ${object.name}</p></field>
- <field name="model_id" ref="test_mail.model_mail_test"/>
+ <field name="model_id" ref="test_mail.model_mail_test_container"/>
<field name="auto_delete" eval="True"/>
</record>
- <template id="mail_test_full_tracking_view">
+ <template id="mail_test_ticket_tracking_view">
<p><span t-esc="object.name"/> datetime has been updated to <span t-esc="object.datetime"/></p>
</template>
</odoo>