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


lease is an model with a Many2One field party.party.

Thanks.

--
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/a917ea82-5739-4b60-9412-ba3677c9caa9%40googlegroups.com
<https://groups.google.com/d/msgid/tryton/a917ea82-5739-4b60-9412-ba3677c9caa9%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
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/56DECB44.9040700%40koolpi.com.

Reply via email to