<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.
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
0
mar 25
|
2049 | |||
|
0
ene 25
|
4355 | |||
|
1
ago 23
|
15973 | |||
|
change password
Resuelto
|
1
ago 23
|
14546 | ||
|
1
jul 23
|
11864 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.