O'Reilly logo

Odoo Development Cookbook by Daniel Reis, Alexandre Fayolle, Holger Brunn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using security group to activate features

Security groups can restrict some features so that they are accessible only to users belonging to these groups. Security groups can also inherit other groups, so they also grant their permissions.

These two features combined are used to implement a usability feature in Odoo: feature toggling. Security groups can also be used as a way to enable or disable features for some or all of the users in an Odoo instance.

This recipe shows how to add options to configuration settings and showcases the two methods to enable the additional features, making them visible using security groups or adding them by installing an additional module.

For the first case, we will make the book release dates an optional additional ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required