Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
7540 Zobrazení

I used this code with OpenERP Version 6.1: [[ company.partner_id.address and company.partner_id.address[1].street or '' ]]

How can i access the delivery address in OpenERP 7?

test data : company abc inc ### partner abc inc ### partner stock of abc inc subordinated to abc inc

Avatar
Zrušit
Nejlepší odpověď

You can use the following fields:

company.street
company.street2
company.zip
company.city
company.state_id (many2one)
company.email
company.phone
company.fax
company.website
company.vat

If you want to access another address than the address in the company, then I think the only possibility is to add an additional partner_id2-field to the res.company object.

Avatar
Zrušit
Autor Nejlepší odpověď

Thanks. I know.

trail of a better description

my data:

  • company abc inc
  • first partner abc inc
  • second partner stock of abc inc subordinated to partner abc inc and type delivery address
  • third partner manager of abc inc subordinated to partner abc inc

The partner abc inc is dedicated to the company abc inc. The partner manager and stock of abc inc are dedicated to the partner abc inc.

I can access the address of the dedicated first partner abc inc with company.partner_id.street, but i need to access the address of the subordinated second partner stock of abc inc.

Avatar
Zrušit

Please update the question instead of replying with an answer. Or comment the answer above.

Related Posts Odpovědi Zobrazení Aktivita
1
kvě 16
6512
2
úno 22
5269
6
led 17
15490
1
led 25
8460
0
bře 15
4098