summaryrefslogtreecommitdiff
path: root/addons/auth_signup/controllers/main.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-10-23 12:56:36 +0000
committerThibault Delavallée <tde@odoo.com>2019-11-29 13:35:14 +0000
commitb9a22d2f24e587894c12bf7ad289fcddcea8a823 (patch)
tree4b958db8a774c45b51a5a7a80b817d50695643cb /addons/auth_signup/controllers/main.py
parent351b0ca6f4f493fed3542c8f52e8ec70ee622b7e (diff)
[IMP] mail: add computed fields for company emails
Purpose of this commit is to give a way to access to company email and catchall with formatting. Those will be used in various automated emails. Indeed currently several templates use either ``company_id.partner_id.email``, ``company_id.email``, or even don't provide fallback values. With this commit from a company record people will be able to use * a correctly formatted catchall: ``"My Company Name" <catchall_alias@catchall_domain>`` * an email_formatted field like partner email_formatted that is either its partner-related email_formatted value, or formatted catchall if its partner is not correctly configured; Various calls to mail creation are updated accordingly. Task ID 1853147 PR #32243
Diffstat (limited to 'addons/auth_signup/controllers/main.py')
0 files changed, 0 insertions, 0 deletions