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

I created a new group with the help of XML. 

    <record id="group_custom_manager" model="res.groups">
        <field name="name">Custom Manager</field>
        <field name="category_id" ref="base.module_category_hidden"/>
        <field name="users" eval="[(4, ref('base.user_root'))]"/>
    </record>

but in my case, after creating this group.  I have to manually enable the group for other users.  

Is it possible to enable this group for all users automatically??

アバター
破棄
著作者 最善の回答

By inheriting the HR/Employee group to our user-defined group.

        <record id="group_custom_manager" model="res.groups">
              <field name="implied_ids" eval="[(4, ref('base.group_user'))]" />
        </record>

アバター
破棄
関連投稿 返信 ビュー 活動
0
11月 15
4775
1
3月 15
5017
1
3月 15
8423
10
12月 23
36756
1
12月 21
9775