<field name="groups" eval="[(4,ref('base.group_user'))]"/>
why we use eval and 4 and as well as ref.
im new in odoo ..
and also tell me what is difference between domain_force and domain ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
<field name="groups" eval="[(4,ref('base.group_user'))]"/>
why we use eval and 4 and as well as ref.
im new in odoo ..
and also tell me what is difference between domain_force and domain ?
<field name="groups" eval="[(4,ref('base.group_user'))]"/>
Here "groups" is a many2many field.
when we need to link any new record using xml at that time we use this.
"groups" means field's name and
[(4,ref('base.group_user'))] means we are linking that record to our many2many field.
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
0
Mar 25
|
2052 | |||
|
0
Oca 25
|
4361 | |||
|
1
Ağu 23
|
15983 | |||
|
change password
Çözüldü
|
1
Ağu 23
|
14553 | ||
|
1
Tem 23
|
11878 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.