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

Take for example res.users.csv:


"id","name","email","login","groups_id/id"
"user_example","user example","example@ex.com","example@ex.com","base.group_user,mymodule.group_example_manager"
Is there a difference between "groups_id/id" and "groups_id:id"

Both behaves as the following example in xml:

<field name="groups_id" eval="[(6, 0,[ref('mymodule.group_example_manager'), ref('base.group_user')]" />

But I want the equivalent of this:

<field name="groups_id" eval="[(4, ref('mymodule.group_example_manager')),(4, ref('base.group_user'))]" />


How can I do it?


Odoo Version: 13.0
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
srp 17
3703
3
pro 23
5885
2
bře 21
4766
1
říj 20
7696
3
dub 20
10785