跳至內容
選單
此問題已被標幟
4945 瀏覽次數

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
17606
2
7月 15
6798
2
3月 15
21019
0
11月 15
4863
1
3月 15
5085