On 08/16/2010 03:15 PM, "Cédric Krier" <[email protected]>" wrote:
> On 16/08/10 14:43 +0200, Paul J Stevens wrote:
>> On 08/16/2010 01:41 PM, "Cédric Krier" <[email protected]>" wrote:
>>> 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?
> 
> Could you answer to this?
> Because if it is true then we have an issue.

Oh, sorry. Not that's not the case.

Whenever I did a party.party.create(..) an empty address record was
attached to this party with all fields set to False, except the 'party'
field and the 'active' field. So the new address was linked, but didn't
contain meaningful data.

Passing the {'addresses': False} keyword parameter solved it for me.

thanks.


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

-- 
[email protected] mailing list

Reply via email to