On 16/08/10 12:51 +0200, Paul J Stevens wrote: > Hi all, > > While working on a xmlrpc connector to hook up a webproject to tryton, I > noticed something I can't explain. > > Whenever I create a Party, an empty Address record is created with all > values except 'active' and 'party' set to False.
Do you mean that the address is not linked to a party?
> Is this a feature? If so, can I disable it, and/or should I expect this
> for more types of objects being created? Or is this a bug?
Yes, if you want to disable it, you must give {'addresses': False}
> I don't see any code in party.py that triggers this, so where is this
> coming from?
It is
http://hg.tryton.org/hgwebdir.cgi/modules/party/file/eafe0bc76a39/party.py#l83
--
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/
pgpSy89ZUNILX.pgp
Description: PGP signature
