Skip to Content
Menú
This question has been flagged
1 Respondre
4399 Vistes

Hi,

I was able to extract the company's information in the header and footer of reports by using for instance the following piece of code:

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

That was for extracting the zip code. In the attempt of adjusting the new version to our needs, I could not extract the info in the above mentioned way.

Any help would be appreciated.

Thanks.

Avatar
Descartar
Best Answer

In v7 you can use

[[ company.partner_id.child_ids[0].zip ]]
Avatar
Descartar
Related Posts Respostes Vistes Activitat
4
de gen. 20
4083
10
de març 16
6950
1
d’oct. 24
12521
0
de des. 23
1086
0
de set. 23
1886