跳至内容
菜单
此问题已终结
2 回复
3775 查看

 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

形象
丢弃
编写者 最佳答案

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?

 

形象
丢弃
相关帖文 回复 查看 活动
0
2月 24
1643
2
10月 23
1850
1
7月 23
2017
2
6月 20
5435
0
8月 15
4021