Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4382 Vistas

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
Mejor respuesta

In v7 you can use

[[ company.partner_id.child_ids[0].zip ]]
Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
4
ene 20
4058
10
mar 16
6915
1
oct 24
12475
0
dic 23
1075
0
sept 23
1856