Odoo Help

0

Is it correct to define a group as base.group_name in custom modules?

By
Shawn Varghese
on 5/28/16, 12:49 AM 506 views

I have noticed that sometimes, groups are defined as 

<record id="base.group_website_publisher" model="res.groups">

<field name="name">Display Editor Bar on Website</field>

<field name="category_id" ref="base.module_category_website"/>

</record>

This is in the website module, and group_website_publisher has not been defined in base but it is stil defined as "base." 

Is that a correct practice? I have a global group, which I would like to use in several places. Currently, I have to use that module as a dependency everywhere, but if I could define it as base, it would help.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/28/16, 12:49 AM
Seen: 506 times
Last updated: 5/28/16, 12:49 AM