diff options
| author | fw-bot <otis@odoo.com> | 2019-10-15 16:59:10 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-16 12:17:09 +0000 |
| commit | 8c2f6b006fd7e92653706652d5d5eb279887b0fd (patch) | |
| tree | 879eac9503326d28a865ae4a532ccc069311fa93 /addons/link_tracker/models/link_tracker.py | |
| parent | f33e7b851d4598db064bd7cf16a6e4e6aa5e7bac (diff) | |
[FIX] base: Allow default email_from by database
It is possible to get to a situation where Odoo would try to send an email without a `From:` header address.
In such case, you're unlucky if you don't have access to the underlying deployment, or if you use multiple databases in a single Odoo instance and each of them uses a different mail configuration.
To make this configuration easier to use and cover those use cases, here I add support for a new ICP: `mail.default.from`. It will be used when present, so it shouldn't affect existing deployments. When present, it will allow a admin to configure the default sending address just with Odoo itself.
closes odoo/odoo#38874
X-original-commit: 5010ce630a7f0e01d45d99c9083318b50f9f624a
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/link_tracker/models/link_tracker.py')
0 files changed, 0 insertions, 0 deletions
