In forum module,I need moderation tools only for admins and not for portal user
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Účtovníctvo
- Sklady
- PoS
- Project
- MRP
This question has been flagged
Hi,
In Odoo, forum moderation tools should be restricted by user groups. Portal users can read and post messages but should not have moderation capabilities, while internal users or admins can moderate based on their group membership.
The moderation buttons in forum views are controlled via the groups attribute in the XML templates. By ensuring that only admin or internal groups (e.g., base.group_system) are assigned, and portal users are excluded, the moderation tools will only appear for authorized users.
Optionally, you can customize forum templates in a module to explicitly hide moderation buttons for portal users using XML overrides. This approach ensures that only admins have access to moderation features while portal users see a simplified interface.
Hope it helps
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrácia