If you’re working with Odoo 18, here’s how to create a new user group—either via the user interface or via custom module development.
👉 Method 1: Create a Group Using the UI (No Code Needed)
Activate Developer Mode
Go to the Settings app and enable Developer Mode. This unlocks advanced menus and settings.
Navigate to Groups
In Settings → Users & Companies → Groups, you’ll see a list of existing groups and a Create button.
Create the New Group
Click Create.
Give the group a clear Name, e.g., Sales Assistants or Project Viewers.
Optionally, tick Share Group if the group is meant for sharing access among multiple users.
Configure Tabs
The group form provides multiple tabs:
✅ Users: Add users who belong to this group.
✅ Inherited: Inherit permissions from other groups (useful to build on existing access rights).
✅ Menus: Control which menu items the group members can see.
✅ Views: Restrict access to specific UI views.
✅ Access Rights: Define model-level permissions such as Read, Write, Create, and Delete.
✅ Record Rules: Add fine-grained filters (domains) to restrict which records the group can see or manipulate.
Add Access Rights & Record Rules
Use Add a line under Access Rights to assign model permissions
Use Add a line under Record Rules to create domain-based restrictions (for example, only allow users to see their own records).
Save & Test
Always test your new group by assigning at least one user to it. Then log in as that user to make sure permissions behave as expected.
Odoo
👉 Method 2: Create a Group via a Custom Module (Developer Path)
If you want to version-control your group or automate group creation across environments:
Create a security folder in your custom module.
Define the group in XML, e.g.:
Add the XML file to your module’s manifest so it’s loaded properly.
Define access control rules in ir.model.access.csv, for example:
This restricts all Create/Write/Delete rights, leaving only Read access.
Install or Update the module, then go to Settings → Users & Companies → Groups to assign your group and test.
#Odoo18, #OdooUserGroup, #OdooERP, #OdooNoCode, #OdooTutorial, #OdooGuide, #OdooTips, #OdooTraining, #OdooSetup, #OdooAdmin, #OdooUsers, #OdooHelp, #OdooSupport, #OdooCommunity, #OdooHowTo
#Odoo18, #OdooUserGroup, #OdooERP, #OdooTutorial, #OdooGuide, #OdooTips, #OdooTraining, #OdooSetup, #OdooAdmin, #OdooUsers, #OdooHelp, #OdooSupport, #OdooCommunity, #OdooERPSystem, #OdooHowTo
Connect With Us:
—————————————
➡️ Website:
➡️ Email: info@cybrosys.com
➡️ Twitter:
➡️ LinkedIn:
➡️ Facebook:
➡️ Instagram:
➡️ Pinterest:
#EP33 #Create #Usergroup #Odoo #Create #Group #Code #Needed