<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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Aug 23
|
12542 | ||
change password
Solved
|
|
1
Aug 23
|
11036 | |
|
1
Jul 23
|
7218 | ||
|
4
Apr 23
|
8675 | ||
|
2
Feb 23
|
17588 |