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
5711 Widoki

Hello,

I'm new to OpenERP and the webkit.

In the webkit footer, I would like to print the different bank-data (res_partner_bank.bank-name and res_partner_bank.acc_number). As this can be a list of several banks for a company, I have no idea how to get this information into my webkit footer.

I print some other data about the company as you can see in this part of my webkit footer:

            <td style="text-align:center;font-size:10">t ${company.partner_id.phone or ''|entity} </td>

Any help would be very welcome... Thanks in advance

Awatar
Odrzuć
Najlepsza odpowiedź

I imagine that doing something like this:

%for bank in company.bank_ids:

bank.id
bank.name
bank.x

%endfor

Should work

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 23
2749
1
mar 15
4762
1
gru 23
2183
0
lis 20
4247
0
lis 15
4849