Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4417 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

In v7 you can use

[[ company.partner_id.child_ids[0].zip ]]
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
sty 20
4139
10
mar 16
6980
1
paź 24
12556
0
gru 23
1093
0
wrz 23
1901