跳至内容
菜单
此问题已终结
4867 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
1
4月 19
17544
2
7月 15
6760
2
3月 15
20953
0
11月 15
4823
1
3月 15
5027