i put this and ONLY this rule for res.users
['|',('company_id.child_ids','child_of',[user.company_id.id]),('company_id','child_of',[user.company_id.id])]
and this works without patching
i put this and ONLY this rule for res.users
['|',(' company_ id.child_ ids','child_ of',[user. company_ id.id]) ,('company_ id','child_ of',[user. company_ id.id]) ]
and this works without patching