Files
odoo_source/addons/mail/tests/__init__.py
T
Renaud Thiry 00ebf747af [FIX] mail: add selection when fetching message type
A new message type was added in stable. This is usually safe,
however in cases where there are related fields on that same selection
fetching them will raise an exception as the ORM has to fetch the translations
for the selection in DB.

We add a hack on mail.mail to update the selections in DB when fetching
the message_type field for the first time.

task-3773301

closes odoo/odoo#156235

X-original-commit: 19683173708a2b029acb4e744871772b6c248715
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Signed-off-by: Renaud Thiry (reth) <reth@odoo.com>
2024-03-05 14:22:19 +00:00

20 lines
611 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import test_ir_mail_server
from . import test_link_preview
from . import test_mail_activity
from . import test_mail_composer
from . import test_mail_mail_stable_selection
from . import test_mail_render
from . import test_mail_template
from . import test_mail_tools
from . import test_res_company
from . import test_res_partner
from . import test_res_users
from . import test_res_users_settings
from . import test_translation_controller
from . import test_uninstall
from . import test_update_notification
from .discuss import *