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 change the formating of a widget for invoice?

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

Hello 

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"

Thanks

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/24/14, 1:52 AM
Seen: 1060 times
Last updated: 3/16/15, 8:10 AM