Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3959 มุมมอง

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
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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>

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 19
4930
TypeError: node is undefined Kanban view แก้ไขแล้ว
1
ก.ย. 21
7761
0
พ.ย. 19
4310
0
พ.ย. 18
2554
1
ม.ค. 20
8471