Metadata-Version: 2.1
Name: odoo-addon-mail_operating_unit
Version: 17.0.2.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo-addon-operating_unit>=17.0dev,<17.1dev
Requires-Dist: odoo>=17.0a,<17.1dev
Summary: Mail Operating Unit
Home-page: https://github.com/OCA/operating-unit
License: LGPL-3
Author: Camptocamp, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 17.0
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

===================
Mail Operating Unit
===================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:0673daeccf6fc6ac651eb91cb06c5364d7de27673ae62f96841faea4001e61c0
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
    :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Foperating--unit-lightgray.png?logo=github
    :target: https://github.com/OCA/operating-unit/tree/17.0/mail_operating_unit
    :alt: OCA/operating-unit
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/operating-unit-17-0/operating-unit-17-0-mail_operating_unit
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/operating-unit&target_branch=17.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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.

**Table of contents**

.. contents::
   :local:

Configuration
=============

To configure this module, you need to:

- Assign an *Alias Domain* to each Operating Unit that should use a
  specific email domain.
- Assign an *Operating Unit* to an Email Template when emails sent from
  that template must use the alias domain of that operating unit.
- Optionally assign an *Outgoing Mail Server* to an Operating Unit when
  emails should be routed through a specific SMTP server.

When no operating unit is defined on the template or on the target
record, the standard Odoo alias domain behavior is applied.

When no unambiguous Operating Unit mail server can be determined, the
standard Odoo outgoing mail server selection is applied.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/operating-unit/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/operating-unit/issues/new?body=module:%20mail_operating_unit%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Camptocamp

Contributors
------------

- Vincent Van Rossem <vincent.vanrossem@camptocamp.com>
- Italo Lopes <italo.lopes@camptocamp.com>
- Maksym Yankin <maksym.yankin@camptocamp.com>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/operating-unit <https://github.com/OCA/operating-unit/tree/17.0/mail_operating_unit>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
