Skip to Content
Menú
This question has been flagged
1 Respondre
3927 Vistes

I want to change the group_by of the recruitement stages

this is the old group_by

<!-- Hr Applicant Kanban View -->
<record model="ir.ui.view" id="hr_kanban_view_applicant">
<field
name="name">Hr Applicants kanban</field>
<field
name="model">hr.applicant</field>
<field
name="arch" type="xml">
<kanban
default_group_by="stage_id" class="o_kanban_applicant">

and i want to change stage_id by another field
Avatar
Descartar
Best Answer

Hello Dhia Eddine Khyari,

You can change default_group_by using position="attributes" in xpath.

Inherit kanban view and use following xpath.

<xpath expr="//kanban" position="attributes">

                <attribute name="default_group_by">user_id</attribute>

</xpath>

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
d’abr. 19
4923
1
de set. 21
7742
0
de nov. 19
4289
0
de nov. 18
2542
1
de gen. 20
8456