Odoo Help


output company delivery address in rml header

on 2/25/13, 7:18 AM 3,789 views

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


Andreas Brueckl

--Andreas Brueckl--
Andreas Brueckl
| 7 8 7
Vienna, Austria
--Andreas Brueckl--
OpenERP Consulting and Development
Andreas Brueckl
On 2/25/13, 8:42 AM

You can use the following fields:

company.state_id (many2one)

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.

On 2/25/13, 9:30 AM

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.

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

Andreas Brueckl
on 2/25/13, 10:23 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/25/13, 7:18 AM
Seen: 3789 times
Last updated: 3/16/15, 8:10 AM