On Tue, Mar 8, 2016 at 10:56 PM, Vincent Bastos <vinc...@lavalab.com.au>
wrote:

>
>
> On Tue, Mar 8, 2016 at 10:53 PM, Sergi Almacellas Abellana <
> se...@koolpi.com> wrote:
>
>> El 08/03/16 a les 13:42, Vincent Bastos ha escrit:
>>
>>> Hi,
>>>
>>> I was wondering how I can "get" the default party address. I think that
>>> by convention the first address is the default one.
>>>
>>> Is it as simple as something like lease.party.address?
>>>
>>
>> It seems you are searching address_get method [1]
>>
>> [1] http://hg.tryton.org/modules/party/file/6716ff45f83e/party.py#l204
>
>
I am actually using 3.4 so the method is address_get in my case.



-- 
*Vincent Bastos*
*Lava Lab Software*

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/CACLX58DrHs8ABQqzrfDCU6OKuGydThj1h5bcru_9rZNTiTvr%2BQ%40mail.gmail.com.

Reply via email to