I refer to Kanban views whereby I has 2 models
- Stage
- Registration
Stages has One2Many Registrations.
Registration has Many2One Stage .
and in my kanban view, I can only add Registration, but I cannot add a column (a new Stage)
<!-- Kanban View -->
<record model="ir.ui.view" id="warranty_registration_kanban_view">
<field name="name">warranty.registration.kanban</field>
<field name="model">warranty.registration</field>
<field name="arch" type="xml">
<kanban default_group_by="stage_id">
<field name="color"/>
<templates>
<t t-name="kanban-box">
<div
t-attf-class="oe_kanban_color_{{kanban_getcolor(record.color.raw_value)}}
oe_semantic_html_override
oe_kanban_card {{record.group_fancy==1 ? 'oe_kanban_card_fancy' : ''}}">
<div class="oe_dropdown_kanban">
<!-- dropdown menu -->
<div class="oe_dropdown_toggle">
<span class="oe_e">#</span>
<ul class="oe_dropdown_menu">
<li>
<a type="delete">Delete</a>
</li>
<li>
<ul class="oe_kanban_colorpicker"
data-field="color"/>
</li>
</ul>
</div>
<div class="oe_clear"></div>
</div>
<div t-attf-class="oe_kanban_content">
<!-- title -->
Start date:
<field name="start_date"/>
<br/>
</div>
</div>
</t>
</templates>
</kanban>
</field>
</record>
What I want to achieve is like the hr_recruitment or Notes module, where I can create stage in the kanban view using the column option