Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to create report with field names / labels?

By
Tomas Maliuk
on 9/9/14, 8:51 AM 1,598 views

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?

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/9/14, 8:51 AM
Seen: 1598 times
Last updated: 3/16/15, 8:10 AM