Dear all,
I have a question in domain concept, i need a several condition to do that for example, i have 4 groups user, manager, super manager and admin, in this case user need to know his entry only, manager only know his users entry only, Super Manager need to know all the managers details and user details, how to do that in domain.
i tried this way to complete. but user dont having any entry but manager level is ok
Case 1:
['|',('parent_id.user_id','=',uid),('pending_qty','!=',0),('parent_id.branch_manager','=',uid),('pending_qty','!=',0)]
Case 2:
can't put pending qty as zero
['|',('parent_id.user_id','=',uid),('parent_id.branch_manager','=',uid)]
How can i put domain for this.
why do you want 4 domains? What its the reason?