From 2896aad34e797b6ca65a8efe3c5d71f31500a9a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 17 Jul 2019 09:26:42 +0000 Subject: [REF] mass_mailing: rename mail.mail.statistics and reporting model PURPOSE Mass mailing is currently a bit messy. As SMS will be added as a way to notify people in mass through SMS let us take this opportunity to somehow clean this application: organization, light code cleaning, model renaming. SPECIFICATIONS Rename mail.mail.statistics to mailing.trace and mail.statistics.report to mail.trace.report. Rationale : * mail.mail.statistics is linked to mail.mail model. Soon this model will hold data related to SMS sending. It makes sense to be broader in the naming; * mailing.trace is more inlined with marketing.trace model that is the marketing automation model using it in marketing automation (enterprise application); * mailing.trace is shorter to write; * mail.statistics.report model should sense to be updated at the same time; MIGRATION mail.mail.statistics model -> mailing.trace mail_mail_statistics table -> mailing_trace mail.statistics.report model -> mail.trace.report fields updated (w column change) * link.tracker.click: mail_stat_id -> mailing_trace_id fields updated (no column change) * mail.mail: statistics_ids -> mailing_trace_ids * mail.mass_mailing: statistics_ids -> mailing_trace_ids LINKS Task ID 2037906 Preparing task ID 1997464 (SMS addition in mass mailing) PR #34938 --- addons/mass_mailing/data/mass_mailing_demo.xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'addons/mass_mailing/data') diff --git a/addons/mass_mailing/data/mass_mailing_demo.xml b/addons/mass_mailing/data/mass_mailing_demo.xml index b2054c5636d..172d90873bd 100644 --- a/addons/mass_mailing/data/mass_mailing_demo.xml +++ b/addons/mass_mailing/data/mass_mailing_demo.xml @@ -198,7 +198,7 @@ - + 1111000@odoo.com res.partner @@ -207,7 +207,7 @@ - + 1111001@odoo.com res.partner @@ -216,7 +216,7 @@ - + 1111002@odoo.com res.partner @@ -224,7 +224,7 @@ - + 1111003@odoo.com res.partner @@ -232,7 +232,7 @@ - + 1111004@odoo.com res.partner @@ -240,7 +240,7 @@ - + 1111004@odoo.com res.partner @@ -248,7 +248,7 @@ - + 1111004@odoo.com res.partner @@ -264,7 +264,7 @@ use="code"/> 100.01.02.03 BE - + 100.01.02.03 BE - + 100.01.02.04 BE - + 100.01.02.04 BE - + 100.01.02.05 BE - + -- cgit v1.2.3