Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4040 Zobrazení

 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
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
úno 24
1972
2
říj 23
2154
1
čvc 23
2341
2
čvn 20
5845
0
srp 15
4404