Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4020 Zobrazení

In which method the admin user is being created

Avatar
Zrušit
Nejlepší odpověď

Admin user created from server side base_data.xml files,

<record model="res.users" id="base.user_root">
            <field name="partner_id" ref="base.partner_root"/>
            <field name="company_id" ref="main_company"/>
            <field name="company_ids" eval="[(4, ref('main_company'))]"/>
            <field name="menu_id" ref="action_menu_admin"/>
            <field name="signature">-- Administrator</field>
        </record>
Avatar
Zrušit
Autor

Thanks jamesbale , and how do i assign all groups to admin by default

Related Posts Odpovědi Zobrazení Aktivita
1
bře 15
9758
1
bře 15
8809
0
bře 15
5184
1
bře 15
5171
0
bře 24
1156