Odoo Help


How to change the formating of a widget for invoice?

Tobias Frankl
on 9/24/14, 1:52 AM 1,425 views


Small question:

How to format the inside of a widget? Example: On invoice there is the adress and the name of the costumer in the format:

<address t-field="o.partner_id" t-field-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: true}"/>

"company, first name name"

When i print it, it looks ugly sometimes beacause you get: "company, first name - line break - name."

When I give it a lot of space and the name is very long the format becomes ugly.

Where can I insert a line break into the widget? resulting in: "company -line break - first name name"


About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 9/24/14, 1:52 AM
Seen: 1425 times
Last updated: 3/16/15, 8:10 AM