This module allows to select multiple models in each user so they don’t receive a notification from the documents related to those models when the users are assigned to them. This module works for both Odoo and email notifications.
Table of contents
Configuration
To configure this module, you need to:
Go to the “Preferences” tab in an internal user.
Activate the “Block Assigned Message” option.
Select the models for which assignation notifications don’t have to be generated.
It is important to keep in mind that automatic assignment notifications are only created when a model meets the following requirements:
The model is subclass of the abstract class mail.thread.
The model has a user_id field.
The tracking parameter of the user_id field is different to False.
This module will not work with models that do not meet all those three requirements. Also, notification methods can be overriden, so the module would not work in those cases either.
A particular example of a model that does not work is the project.task model. It does not have a user_id field, but a Many2many user_ids field. Assignment notifications are created using a specific custom method for this model, so are not blocked using this module.
Usage
To use this module, you need to:
Go to a model that has assign notifications. For example: res.partner (install the contacts module if you do not have the menu)
Login with a user that has permissions in that model with another browser or incognito mode. Create that user before if it does not exist
With the second user, assign a record to the first user selecting him on the user_id field. In our res.partner example, we will assign the first user as ‘Salesperson’.
The first user will not receive the assignation notification if you have configured them to be blocked in that model. You can also review if the notifications are correcly received without this block.
Note: Notifications are, by default, handled by emails. You can change them, to be handled in odoo, in your preferences.
Bug Tracker
Bugs are tracked on GitHub 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.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Manuel Regidor
Alberto Martínez
Valentin Vinagre
Harald Panten
Maintainers
This module is part of the sygel-technology/sy-social project on GitHub.
You are welcome to contribute.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_mail_block_user_assigned_message-18.0.1.0.0-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_mail_block_user_assigned_message-18.0.1.0.0-py3-none-any.whl
- Upload date:
- Size: 38.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1464d28404943864e81390c4c981b0ec135acf75309d480fb836ae0a36829fd
|
|
| MD5 |
72e6c120fe76c19e3f91b5655bfabdd5
|
|
| BLAKE2b-256 |
ac4fbc4e4b61a56d4d6766b108ee71642d577ab0ee6e664ede76520955353489
|