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

Is there any way i could insert field names not just their values on a report?

For example: I am trying to create custom report for invoices to include company reference and VAT numbers on a report in form of "VAT: LTXXXXXX" not just the actual number.

The best would be  t-field-options:

<div t-field="company.partner_id"  t-field-options='{"widget": "contact", "fields": ["address", "name", "vat"],}'/>

add label option like:

<div t-field="company.partner_id"  t-field-options='{"widget": "contact", "fields": ["address", "name", "vat"], "labels"=true}'/>

 

Is there something similar to it?

 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 24
1816
5
มิ.ย. 17
9232
5
พ.ย. 16
7089
0
ส.ค. 16
5322
2
มิ.ย. 16
4050