Hi,,,,
I want apply domain in fillter
like this:
name="appointments"
domain=" [('field_name','=',user.field_name.id)]"/>
But give me error I can't use composed field ...... how can i apply domain ???????????????????
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,,,,
I want apply domain in fillter
like this:
name="appointments"
domain=" [('field_name','=',user.field_name.id)]"/>
But give me error I can't use composed field ...... how can i apply domain ???????????????????
Hi,
The error you are getting is because you are trying to use a composed
field in the domain of a filter. Composed fields are not supported in
the domain of a filter.
To apply a domain to a filter, you need
to use the field name, not the composed field name. In your example, the
field name is field_name, so the correct domain would be:
domain="[('field_name','=',user.field_name)]"
an example of how to apply a domain to a filter in Odoo:
<filter name="appointment_by_partner" domain="[('partner_id','=',
Hope it helps
domain=" [('unit_divsion','=',parent.unit.unit_division)]"/>
if in this case, what should i do, i need the unit_division.
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol