Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2892 มุมมอง

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
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ส.ค. 17
3712
3
ธ.ค. 23
5950
2
มี.ค. 21
4779
compute many2one from custom model's แก้ไขแล้ว
1
ต.ค. 20
7728
3
เม.ย. 20
10816