Currently check of alias security is directly embedded in mail.thread routing method. In this commit we move this check in the mail.alias.mixin class itself. Doing this allows models to extend or improve the behavior depending on how inheriting models use aliases.
9 lines
190 B
Python
9 lines
190 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
import hr
|
|
import hr_config_settings
|
|
import mail_alias
|
|
import res_partner
|
|
import res_users
|