social/mail_autosubscribe
yajo 6cc336e705 [FIX] mail_autosubscribe: missing dependency
This should fix the tests, that are currently failing on CI with:

```
2022-07-05 16:19:13,250 259 INFO odoo odoo.service.server: Starting post tests
2022-07-05 16:19:13,253 259 ERROR odoo odoo.tests.loader: Can not `import mail_autosubscribe`.
Traceback (most recent call last):
  File "/opt/odoo/odoo/tests/loader.py", line 33, in _get_tests_modules
    mod = importlib.import_module('.tests', modpath)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/__w/social/social/mail_autosubscribe/tests/__init__.py", line 1, in <module>
    from . import test_mail_autosubscribe
  File "/__w/social/social/mail_autosubscribe/tests/test_mail_autosubscribe.py", line 5, in <module>
    from odoo_test_helper import FakeModelLoader
ModuleNotFoundError: No module named 'odoo_test_helper'
```
2022-07-07 07:29:19 +00:00
..
i18n [UPD] Update mail_autosubscribe.pot 2022-05-24 17:34:03 +00:00
models [MIG] mail_autosubscribe: Migration to 15.0 2022-04-12 11:10:00 -03:00
readme [FIX] mail_autosubscribe: missing dependency 2022-07-07 07:29:19 +00:00
security [ADD] mail_autosubscribe 2022-04-12 08:43:24 -03:00
static/description [UPD] README.rst 2022-05-24 17:37:09 +00:00
tests [MIG] mail_autosubscribe: Migration to 15.0 2022-04-12 11:10:00 -03:00
views [ADD] mail_autosubscribe 2022-04-12 08:43:24 -03:00
__init__.py [ADD] mail_autosubscribe 2022-04-12 08:43:24 -03:00
__manifest__.py [FIX] mail_autosubscribe: missing dependency 2022-07-07 07:29:19 +00:00
README.rst [UPD] README.rst 2022-05-24 17:37:09 +00:00

==================
Mail Autosubscribe
==================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fsocial-lightgray.png?logo=github
    :target: https://github.com/OCA/social/tree/15.0/mail_autosubscribe
    :alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_autosubscribe
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
    :target: https://runbot.odoo-community.org/runbot/205/15.0
    :alt: Try me on Runbot

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

This module allows you to configure partners that will be automatically in copy
of their company's business documents.

For example, you can configure an accountant to be in copy of all invoices
sent for a given commercial partner, regardless of the invoicing address.

**Table of contents**

.. contents::
   :local:

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

Go to Configuration > Technical > Automation > Autosubscribe Models and configure
the models for which you want the feature to work.

Then, on each partner, you can check the company documents subscriptions in the
field `In copy of`.

This feature can be disabled on specific templates, if required, by disabling the
Autosubscribe followers field.

Known issues / Roadmap
======================

* Consider implementing domain-based autosubscription rules.
  This was considered during first development but it wasn't a requirement at the time.
  If pursuit, this has to be done carefully to avoid affecting performance.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_autosubscribe%0Aversion:%2015.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 SA

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

* `Camptocamp <https://www.camptocamp.com>`_

     * Iván Todorovich <ivan.todorovich@gmail.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/social <https://github.com/OCA/social/tree/15.0/mail_autosubscribe>`_ project on GitHub.

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