İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5734 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt

I imagine that doing something like this:

%for bank in company.bank_ids:

bank.id
bank.name
bank.x

%endfor

Should work

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Haz 23
2782
1
Mar 15
4777
1
Ara 23
2218
0
Kas 20
4276
0
Kas 15
4871