Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
12268 มุมมอง

Hey everyone,

I've managed to put my vat ID on the header of my company for report purposes:

<drawstring x="1.3cm" y="25.7cm">[[ company.vat ]]</drawstring>

Now I want to do the same for my bank account, I've looked in the database and found it in the table res_partner_bank in the field acc_number

Now how can I get this on my header? I've tried everything but i'm not familiar with the syntax..

Kind regards,

Wim

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You can have several bank accounts registered to your company. This prints the account number of the first bank account:

[[ company.bank_ids[0].acc_number ]]

You can also use the other available bank details (instead of acc_number):

  • name
  • bank_name
  • bank_bic
  • owner_name
  • ...
อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks a lot! That did it!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ย. 20
4605
1
มี.ค. 15
6227
2
มี.ค. 15
4319
0
มี.ค. 15
4446
0
มี.ค. 15
4248