Metadata-Version: 2.1
Name: odoo-addon-mail_hide_body_portal_button
Version: 15.0.1.0.1
Requires-Python: >=3.8
Requires-Dist: odoo>=15.0a,<15.1dev
Summary: Hide portal button automatically attached to some emails
Home-page: https://github.com/sygel-technology/sy-social
License: AGPL-3
Author: Sygel, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 15.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
   :target: http://www.gnu.org/licenses/agpl
   :alt: License: AGPL-3

============================
Mail Hide Body Portal Button
============================

This module allows to hide the button automatically attached to the email's body which
gives access to the documents in the portal. Some of the models that attach this button
are sale.order, purchase.order and account.move.


Installation
============

To install this module, you need to:

*  Only install


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

To configure this module, you need to:

#. Go to Settings > Technical > System Parameters
#. Add the comma separated list of models which have not to attach the portal button
   in the email body as the value for the parameter
   "mail_hide_body_portal_button.models". For example, if the button needs to be hidden
   in sale orders and purchase orders, the value for the parameter has to be as follows:
   sale.order,purchase.order


Usage
=====

To use this module, you need to:

*  No usage instructions needed.


ROADMAP
=======

*  This module only applies to the button attached through the template with ID
   "mail_notification_paynow". All the models that use this template can be included in
   the list of models for which the button has to be hidden. However, if other
   templates include a button to the portal in the email body, it will not be possible
   to hide those buttons using this module.

*  The portal body button has been removed from the upper versions of Odoo. A similar mode should be used: mail_hide_header_portal_button


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

Bugs and errors are managed in `issues of GitHub <https://github.com/sygel-technology/sy-social/issues>`_.
In case of problems, please check if your problem has already been
reported. If you are the first to discover it, help us solving it by indicating
a detailed description `here <https://github.com/sygel-technology/sy-social/issues/new>`_.

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


Credits
=======

Authors
~~~~~~~

* Sygel, Odoo Community Association (OCA)


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

* Manuel Regidor <manuel.regidor@sygel.es>
* Valentín Vinagre <valentin.vinagre@sygel.es>
* Harald Panten <harald.panten@sygel.es>


Maintainer
~~~~~~~~~~

This module is maintained by Sygel.

.. image:: https://www.sygel.es/logo.png
   :alt: Sygel
   :target: https://www.sygel.es

This module is part of the `Sygel/sy-social <https://github.com/sygel-technology/sy-social>`_.

To contribute to this module, please visit https://github.com/sygel-technology.
