Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 17.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 4 models 6 views 0 HTTP endpoints

Description

This module allows companies working with multiple Operating Units to send emails with the appropriate email domain and, optionally, the appropriate outgoing mail server depending on the Operating Unit context.

It lets you define an Alias Domain on an Operating Unit and use that domain automatically when emails are generated from templates or records linked to that Operating Unit.

It also allows you to define an Outgoing Mail Server on an Operating Unit and automatically route emails through that server when no mail server is explicitly defined on the email template.

This is especially useful in multi-brand or multi-entity environments where each Operating Unit must send emails using its own domain and SMTP server, while still keeping the standard Odoo behavior as a fallback when no specific Operating Unit configuration can be determined.

Dependencies

Odoo dependencies
OCA/operating-unit:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 6

XML IDNameModelTypeStatus
email_template_form mail.template form Inherits mail.email_template_form
email_template_tree mail.template tree Inherits mail.email_template_tree
view_email_template_search mail.template search Inherits mail.view_email_template_search
view_operating_unit_form operating.unit form Inherits operating_unit.view_operating_unit_form
view_operating_unit_search operating.unit search Inherits operating_unit.view_operating_unit_search
view_operating_unit_tree operating.unit tree Inherits operating_unit.view_operating_unit_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    string='Operating Unit' args: 'operating.unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    string='Operating Unit' args: 'operating.unit'
Public methods (1)
  • send_mail(self, res_id, force_send=False, raise_exception=False, email_values=None, email_layout_xmlid=False)

New fields (2)
  • alias_domain_id Many2one → mail.alias.domain
    string='Alias Domain' args: 'mail.alias.domain'
  • mail_server_id Many2one → ir.mail_server
    comodel_name='ir.mail_server' help='Preferred outgoing mail server for emails sent for records belonging to this operating unit.' string='Outgoing Mail Server'
Public methods (0)

No public methods.

Loading…