Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
7683 Переглядів

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>

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лист. 15
4818
access rights manual Вирішено
1
бер. 15
5027
1
бер. 15
8435
10
груд. 23
36776
1
груд. 21
9791