On 27/09/12 13:20 +0200, Raimon Esteve wrote:
> Hello,
>
> a little question about framework: how to add default values in Many2Many
> fields?
>
> I tested and don't get good result this code:
>
> def default_fieldm2m(self):
> return [('set', [ID])]It is just a list of ids > In trytond/test/test.py aren't m2m defualt values to chek it :( Thanks to write them :-) -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpxQpmBz9vlz.pgp
Description: PGP signature
