Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
5927 Visninger

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?

 

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
aug. 24
1803
5
jun. 17
9216
5
nov. 16
7078
0
aug. 16
5299
2
jun. 16
4013