Reputation: 2358
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
Upvotes: 1
Views: 325
Reputation: 26678
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>
Upvotes: 3