summaryrefslogtreecommitdiff
path: root/addons/mail/security
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-04-16 13:35:57 +0000
committerThibault Delavallée <tde@odoo.com>2020-04-17 06:51:46 +0000
commit7cfd364db54e88970ef51c798df3bd4df44222b3 (patch)
tree9ee4b25b2f3e708428acc0dff1cbf9a65165ae9e /addons/mail/security
parent4b3589359bd5bace5035eeeb6fd04ed29075cb1e (diff)
[REF] mail, various: clean usage of mail alias
Clean the usage of mail aliases and more specifically its associated mixin `mail.alias.mixin` . Stop using context for model of aliases, and correctly give model_id and parent_model_id to the call chain through a cleaned code easier to override. We also merge methods get_alias_model_name and get_alias_values in single one called before record creation (alias first values) and right after (to have values depending on actual record). LINKS Task ID 1919277 Community PR odoo/odoo#41160 Enterprise PR odoo/enterprise#6983 Upgrade PR odoo/upgrade#872 Co-Authored-By: Rémy Voet <ryv@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com>
Diffstat (limited to 'addons/mail/security')
0 files changed, 0 insertions, 0 deletions