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

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
アバター
破棄
関連投稿 返信 ビュー 活動
0
8月 17
3695
3
12月 23
5872
2
3月 21
4762
1
10月 20
7677
3
4月 20
10770