Odoo Help


Extract phone number in report

Ognyan Ivanov
on 3/29/13, 5:40 PM 1,051 views


how can we extract the telephone number of the company in the reports? In the previous versions we could do that by using the following code:

[[ company.partner_id.address and company.partner_id.address[0].phone or '' ]]

I want simply to extract the company's number or that of the salesperson in the reports.



Francesco OpenCode

--Francesco OpenCode--
Francesco OpenCode
| 5 7 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
On 3/30/13, 8:44 AM


[[ company.partner_id.phone or '' ]]

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: 3/29/13, 5:40 PM
Seen: 1051 times
Last updated: 3/16/15, 8:10 AM