On 18 Mar 16:06, Iasmini - Gmail wrote:
> Hi,
>
> I created a new boolean field 'technician' on res.group and I want to
> fill a Many2One field with all users that are members of groups wich
> has this flag cheched.
>
> technician = fields.Many2One('res.user', 'Technician',
> required=False, domain = [(???)])
>
> How do I do this domain?
Normally:
[('groups.technician', '=', True)]
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
pgpxt8PyVflHG.pgp
Description: PGP signature
