diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-07-15 09:18:22 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-07-17 15:39:06 +0000 |
| commit | b3e7fd040b934ee1a60ddaf8c866af3e787e484c (patch) | |
| tree | efd0458ace4780d0eee63a4aec7c039d7b8e867b /addons/mass_mailing/data | |
| parent | 69276607cc8ee7afd2f31b3d0cd853488e2ed6f9 (diff) | |
[MOV] mass_mailing: reorganize module according to guidelines
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
Guidelines: re-organize model files and split them according to main
models. Also reorganize views.
Done in this commit
* split big python file by main models;
* split views according to python files;
* move statistics report to /report;
* merge some exploded view files (assets, snippets, application menus);
LINKS
Task ID 2037906
Preparing task ID 1997464 (SMS addition in mass mailing)
PR #34938
Diffstat (limited to 'addons/mass_mailing/data')
| -rw-r--r-- | addons/mass_mailing/data/mail_data.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/addons/mass_mailing/data/mail_data.xml b/addons/mass_mailing/data/mail_data.xml new file mode 100644 index 00000000000..6c9bd7b591d --- /dev/null +++ b/addons/mass_mailing/data/mail_data.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo><data noupdate="1"> + <!-- Reference: https://litmus.com/community/learning/24-how-to-code-a-responsive-email-from-scratch --> + <template id="mass_mailing_mail_layout"> + <!DOCTYPE html> + <html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <meta name="format-detection" content="telephone=no"/> + <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;"/> + <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" /> + + <t t-call="mass_mailing.mass_mailing_mail_style"/> + </head> + <body> + <t t-raw="body"/> + </body> + </html> + </template> +</data></odoo> |
