On 04/04/13 06:33 -0700, raimonesteve wrote: > > You must add depends=['shops'] on the shop field definition. > > I reopen this topic. > > How to depends ID field (internal field)? > > == Example == > > I like in m2m field don't select same ourself: > > ... > domain=[ > ('id', '!=', Eval('id')), > ], depends=['id']) > ... > > When pass the Tryton test, I get the error: > > AssertionError: Missing depends ['id'] in ...
you must have somethign wrong because depends on id works see: http://hg.tryton.org/modules/stock/file/913962dfbc9a/location.py#l59 -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: cedric.kr...@b2ck.com Website: http://www.b2ck.com/
pgpddqNOwgDqu.pgp
Description: PGP signature