Skip to main content

Hide portal button automatically attached to some emails

Project description

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:

  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 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. 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.

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

Credits

Authors

  • Sygel, Odoo Community Association (OCA)

Contributors

Maintainer

This module is maintained by Sygel.

Sygel

This module is part of the Sygel/sy-social.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_mail_hide_body_portal_button-15.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_mail_hide_body_portal_button-15.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4fb7542b8fe590d61eded900856855ed6bc0a1138506131048bceea96115586
MD5 f4a19793045462ed3f0645ec071d5a3e
BLAKE2b-256 08e47fb1ccd71d2aaf3bc5d068489e83a0603098b341942ee151e59d967c7bca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page