Files
odoo_source/addons/mail/wizard/__init__.py
T
ryv-odoo 47ff160b42 [REF] mail: improve and refactor mail template preview
PURPOSE

Improve mail template preview wizard by improve its views and displaying
more rendered fields. It helps users knowing what will be sent to customers.

SPECIFICATIONS

Rename template model to mail_template_preview to better match the mail
template namespace.

Remove _inherit on mail.template and instead choose fields to compute
and display. Indeed lot of fields are unnecessary or badly computed.
Instead just add fields on the wizard that depends on mail template
and will be computed based on mail_template_id field of wizard.

Improve error management.

LINKS

Task 2085912
PR #38708

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-12-02 10:51:02 +00:00

11 lines
328 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import invite
from . import mail_compose_message
from . import mail_resend_cancel
from . import mail_resend_message
from . import mail_template_preview
from . import base_module_uninstall
from . import base_partner_merge