Can a note in Odoo 17 be restricted to internal users only, excluding companies or any other contacts?
Further explanation:
I want to ensure that my users can only tag internal employees in the chatter and not companies or any other contacts.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Can a note in Odoo 17 be restricted to internal users only, excluding companies or any other contacts?
Further explanation:
I want to ensure that my users can only tag internal employees in the chatter and not companies or any other contacts.
Hi,
Refer to the following modules.
* https://apps.odoo.com/apps/modules/18.0/hide_chatter
* https://odoo-community.org/shop/mail-restrict-send-button-6616?search=hide+chatter#attr=943708
For more information
* https://www.odoo.com/it_IT/forum/assistenza-1/hide-employee-chatter-by-user-182609
Hope it helps
From code side, Filters out portal users or external users then Link the user to their corresponding record (because Odoo stores partner info for both users and contacts).
class ResPartner(models.Model):
_inherit = 'res.partner'
def _message_partner_allowed(self):
""" Restrict @mention to only internal users (employees) """
internal_users = self.env['res.users'].search([('share', '=', False)])
return internal_users.mapped('partner_id')
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
juil. 25
|
1175 | ||
|
2
mars 25
|
1453 | ||
|
0
févr. 25
|
1103 | ||
|
0
févr. 25
|
1265 | ||
|
0
févr. 25
|
1216 |