Metadata-Version: 2.1
Name: odoo-addon-mail_hide_header_portal_button
Version: 18.0.1.0.0.1
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Hide header button to portal in emails
Home-page: https://github.com/sygel-technology/sy-social
License: AGPL-3
Author: Sygel
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
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 Hide Header Portal Button
==============================

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

.. |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-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-sygel--technology%2Fsy--social-lightgray.png?logo=github
    :target: https://github.com/sygel-technology/sy-social/tree/18.0/mail_hide_header_portal_button
    :alt: sygel-technology/sy-social

|badge1| |badge2| |badge3|

This module allows to hide the button automatically attached to the
email's header which gives access to the documents in the portal.

**Table of contents**

.. contents::
   :local:

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

To configure this module, you need to:

1. Go to Settings > Technical > System Parameters
2. Add the comma separated list of models which have not to attach the
   portal button in the email header as the value for the parameter
   "mail_hide_header_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:

1. Send a mail with a model that has the header button set to be hidden

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

- This module replaces the old mail_hide_body_portal_button, because the
  portal button has been removed and now it only appears in the header

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

Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-social/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/sygel-technology/sy-social/issues/new?body=module:%20mail_hide_header_portal_button%0Aversion:%2018.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
-------

* Sygel

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

- `Sygel <https://www.sygel.es>`__:

  - Manuel Regidor
  - Valentín Vinagre
  - Harald Panten
  - Juan Alberto Raja
  - Alberto Martínez

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

This module is part of the `sygel-technology/sy-social <https://github.com/sygel-technology/sy-social/tree/18.0/mail_hide_header_portal_button>`_ project on GitHub.

You are welcome to contribute.
