Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
3795 Tampilan

 Currently, when creating a task the default for the field "assigned to" is the person adding the task.

I would like to have as a default the project manager instead.

How would I do that?


TIA&RGDS

Avatar
Buang
Penulis Jawaban Terbai

the field definition in the task form view is :

<field name="user_id" options="{&quot;no_open&quot;: True}" on_change="onchange_user_id(user_id, context)" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'project.group_project_user']}"/>

Is the part defining the default value is: "on_change="onchange_user_id(user_id, context)" ?

How would I call the project manager's user_id?

 

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Feb 24
1658
2
Okt 23
1865
Project and Tasks Diselesaikan
1
Jul 23
2031
2
Jun 20
5474
0
Agu 15
4038