Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3955 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
apr 19
4929
1
set 21
7757
0
nov 19
4306
0
nov 18
2553
1
gen 20
8466