This commits introduces a new mixin ``mail.composer.mixin`` used when sending emails or notifications based on a mail template. Main current purpose is to hide details related to subject and body computation and rendering based on a mail.template. It also give the base tools to control who is allowed to edit body, notably when dealing with templating language like jinja or qweb. It is meant to evolve in a near future with upcoming support of qweb and fine grain control of rendering access. Task ID-2534550 (Template usage improvement) Task ID-2477164 (Composer mixin) COM PR odoo/odoo#70889 ENT PR odoo/enterprise#18352 Co-Authored-By: Stéphane Debauche <std@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com>
19 lines
543 B
Python
19 lines
543 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from . import test_invite
|
|
from . import test_ir_actions
|
|
from . import test_mail_activity
|
|
from . import test_mail_composer
|
|
from . import test_mail_composer_mixin
|
|
from . import test_mail_followers
|
|
from . import test_mail_message
|
|
from . import test_mail_mail
|
|
from . import test_mail_gateway
|
|
from . import test_mail_template
|
|
from . import test_mail_thread_internals
|
|
from . import test_message_management
|
|
from . import test_message_post
|
|
from . import test_message_track
|
|
from . import test_performance
|
|
from . import test_ui
|