コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4847 ビュー

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
17532
2
7月 15
6748
2
3月 15
20950
0
11月 15
4809
1
3月 15
5023