Hi,
I have a customer page and contact page also. Customer class is having one2many relation with contact class.
Now I want show the contact name in customer kanban view
<templates>
<t t-name="kanban-box">
<div class="oe_kanban_global_click o_res_partner_kanban">
<div class="o_kanban_tags_section oe_kanban_partner_categories"/>
<div class="oe_kanban_details">
<table>
<tr>
<td class="col-sm-5">
<strong class="oe_partner_heading">Customer Name</strong>
</td>
<td>
<field name="name"/>
</td>
</tr>
<tr>
<td class="col-sm-5">
<strong>Contact Name</strong>
</td>
<td>
<field name="contact_ids">
<form>
<field name="name"/>
</form>
</field>
</td>
</tr>
</table>
</div>
</div>
</t>
</templates>
When i have given like this I am getting the output as
Customer Name Sample
Contact Name (4 records)
How can I view first record name instead of (4 records) ?
Is anyone know?
Kanban in One2many: https://learnopenerp.blogspot.com/2021/09/display-access-one2many-field-value-kanban-view-odoo14.html