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.

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

File details

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

File metadata

File hashes

Hashes for odoo_addon_mail_hide_body_portal_button-15.0.1.0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e00eac7b3c0aa45f347b53c6480685e6c9826492c26e1a290e18ed49675da2ce
MD5 00a28acea0c0f2a4c72def595eb850ed
BLAKE2b-256 0ff852a80cb4e6dc6be06148fe2dce2730847ab7a58a91fc8537486213c4edf0

See more details on using hashes here.

Supported by

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