Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
3783 Представления

 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?

 

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
февр. 24
1647
2
окт. 23
1854
Project and Tasks Решено
1
июл. 23
2020
2
июн. 20
5437
0
авг. 15
4026