1

How display data in one or two row?

Source line:

<div t-field="doc.partner_invoice_id"
                        t-field-options='{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true, "phone_icons": true}'/>

return:

ADDRESS
NAME
PHONE
FAX

I want ADDRESS, NAME, PHONE, FAX

user_odoo
  • 2,226
  • 29
  • 51
  • Possible duplicate of [CSS center display inline block?](http://stackoverflow.com/questions/4980525/css-center-display-inline-block) – Doml The-Bread Sep 01 '16 at 15:55

1 Answers1

3

You can use span to print them on the same line:

<div>
    <span t-field="o.partner_id.street"/>
    <span t-field="o.partner_id.name"/>
    <span t-field="o.partner_id.phone"/>
    <span t-field="o.partner_id.fax"/>
</div>
Kenly
  • 19,646
  • 6
  • 41
  • 57