Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3947 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Apr 19
4928
1
Sep 21
7753
0
Nov 19
4293
0
Nov 18
2552
1
Jan 20
8463