This question has been flagged
3273 Views

example :

('user_id','in',[u.uid for u in [x for x in user if x.groups_id]])

I need to validate if the currrent user field groups_id has value.

because its giving me error when no value. this should be filled out by default or not required.

Avatar
Discard