コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4002 ビュー

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>

アバター
破棄
関連投稿 返信 ビュー 活動
1
4月 19
4961
1
9月 21
7827
0
11月 19
4342
0
11月 18
2589
1
1月 20
8514