Odoo Help


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.


How could I format address in qweb report?

Pascal Tremblay
on 12/19/14, 7:06 AM 2,153 views

Actually, I have this address in a report :

Here is the code to get this address :

<h4><strong>Shipping address :</strong></h4>
<div style="margin-left: 20px;" >

<span t-field="o.picking_type_id.warehouse_id.name"/>

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


How could I put the zip code on a new line? How can I put new comma in address?



| 5 4 7
Lodz, Poland

On 12/19/14, 8:12 AM

"Address Format" is set in the definition of the country. See view of country "Canada". You can change the layout of a standard.

very interesting. I will try it soon.

Pascal Tremblay
on 12/19/14, 8:14 AM

Pascal Tremblay

--Pascal Tremblay--
| 5 2 7
Alma, Canada
--Pascal Tremblay--

Pascal Tremblay
On 12/19/14, 8:23 AM

Here it is! 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

2 follower(s)


Asked: 12/19/14, 7:06 AM
Seen: 2153 times
Last updated: 3/1/16, 7:58 AM