diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-10-21 12:51:32 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-11-26 08:45:55 +0000 |
| commit | def98d2375a8a906092293f0aa1ce03bf948d2d3 (patch) | |
| tree | 2136ce434aa8ba5912f8bf3dd39bea8c71dd2909 /addons/test_mail/data | |
| parent | 8c0e92cdcdf98daa3c841af97e0bd2e4b015a1b9 (diff) | |
[IMP] test_mail: add new mail composer tests for its internals
Purpose is to have some low level tests for composer itself allowing to
ensure its behavior. We add tests notably about default values computation
in mass mailing mode as well as template_id change and values synchronization
in composer model.
In a near future composer will probably be improved (use computed fields,
rewrite part of its logic to improve performances). Having tests done before
those tasks ensure we notice every change that might happen.
Task ID-2390314
PR odoo/odoo#62061
Diffstat (limited to 'addons/test_mail/data')
| -rw-r--r-- | addons/test_mail/data/template_data.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/addons/test_mail/data/template_data.xml b/addons/test_mail/data/template_data.xml index 4716060d444..d7a9248f449 100644 --- a/addons/test_mail/data/template_data.xml +++ b/addons/test_mail/data/template_data.xml @@ -21,4 +21,16 @@ <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> + + <template id="mail_test_ticket_test_template"> + <t t-call="web.html_container"> + <t t-set="o" t-value="res_company"/> + <t t-call="web.external_layout"> + <div class="page"> + <p>This is a sample of an external report.</p> + </div> + </t> + </t> + </template> + </odoo> |
