December 2018
Beginner to intermediate
404 pages
10h 14m
English
Before features can be used by regular users, access must be granted for them. In Odoo, this is done using security groups—access privileges are granted to groups, and users are assigned security groups.
Odoo apps typically provide two groups, a user level, for use by regular users, and a manager level, with additional access to app configuration.
So, we will add these two security groups now. Access-security related files are usually kept in a /security module subdirectory, so we should create the security/library_security.xml file for these definitions. Security groups use categories to better organize related app. So, we will start by creating a category for our library app, in the ir.module.category model:
<?xml ...
Read now
Unlock full access