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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.