This question has been flagged
3500 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

Avatar
Discard