Metadata-Version: 2.1
Name: odoo14-addon-mail_template_multi_company
Version: 14.0.1.1.1.dev2
Summary: Mail Template Multi Company
Home-page: https://github.com/OCA/multi-company
Author: ACSONE SA/NV,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 14.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.6
Requires-Dist: odoo<14.1dev,>=14.0a

===========================
Mail Template Multi Company
===========================

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

.. |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/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmulti--company-lightgray.png?logo=github
    :target: https://github.com/OCA/multi-company/tree/14.0/mail_template_multi_company
    :alt: OCA/multi-company
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/multi-company-14-0/multi-company-14-0-mail_template_multi_company
    :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/multi-company&target_branch=14.0
    :alt: Try me on Runboat

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

This module add multi-company management to mail templates.

This module also adds a fallback mechanism for templates that are hardcoded using their XMLID.
For example: the `sale` module will propose the template `sale.mail_template_sale_confirmation` when an order is confirmed.

If the template is not found due to access rules (for instance because it has been linked to another company), nothing is found.
With this module, the field "Original XMLID template" can be filled with the template that corresponds to `sale.mail_template_sale_confirmation` (that is done automatically if the template is copied).
With this configuration, the new template will be found.

**Table of contents**

.. contents::
   :local:

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

* Go to *Settings > General Settings*
* Activate the multi-company
* Go to *Settings > User & Companies > Users*
* Select your user to edit it and active the multi-company

Usage
=====

* Go to *Settings*
* Activate the developer mode
* Go to *Settings > Technical > Email > Templates*
* Open a template and set the company field if the template is specific to a
  company

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/multi-company/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/multi-company/issues/new?body=module:%20mail_template_multi_company%0Aversion:%2014.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
~~~~~~~

* ACSONE SA/NV

Contributors
~~~~~~~~~~~~

* Olivier Laurent <olivier.laurent@acsone.eu>
* Souheil Bejaoui <souheil.bejaoui@acsone.eu>
* Andrea Stirpe <a.stirpe@onestein.nl>
* `PyTech <https://www.pytech.it>`_:

  * Simone Rubino <simone.rubino@pytech.it>

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.

.. |maintainer-Olivier-LAURENT| image:: https://github.com/Olivier-LAURENT.png?size=40px
    :target: https://github.com/Olivier-LAURENT
    :alt: Olivier-LAURENT

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-Olivier-LAURENT| 

This module is part of the `OCA/multi-company <https://github.com/OCA/multi-company/tree/14.0/mail_template_multi_company>`_ project on GitHub.

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