Skip to Content
Menu
This question has been flagged
2 Replies
1539 Views

I got this weird problem since the last update few days ago.

How do I extend the address width so that the number '29' stay in one line


Address formatting problem:

No 43, Jalan Rambai Jaya

29,

Taman Rambai Jaya,

Tanjung Minyak 75250 Melaka.


Expected output:

No 43, Jalan Rambai Jaya 29,

Taman Rambai Jaya,

Tanjung Minyak 75250 Melaka.


Image:

https://s1.postimg.org/2r0qac8fzz/oneline.png


I tried changing the cols-xs-x into a bigger value with this reference: https://github.com/odoo/odoo/commit/4c419f2bc18acac9b8202409bcb592626cbe785f#diff-413895028adc9cd08e03e578391fd6f9


But the address field still has that problem. How do I widen the address field? Is this a bug?

Avatar
Discard

can anyone help on this ? -_-

Author Best Answer

I solved this problem my own. Not sure why the existing template got problem with the address width.


I set the width address manually to 100%:


<span t-field="company.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}" style="width: 100%; border-bottom: 1px solid black; display:inline-block;"/>

Avatar
Discard