user_ids in project tasks bug
This commit is contained in:
parent
19e5f1db80
commit
0e51ac85e9
|
|
@ -27,8 +27,10 @@
|
|||
<xpath expr="//field[@name='user_ids']" position="attributes">
|
||||
<attribute name="widget">involved_assignee_avatar_user</attribute>
|
||||
<attribute name="domain">[('id', 'in', involved_user_ids)]</attribute>
|
||||
<attribute name="invisible">is_generic</attribute>
|
||||
<attribute name="options">{'no_create': True, 'no_quick_create': True, 'no_create_edit': True}</attribute>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//field[@name='timesheet_ids']" position="attributes">
|
||||
<attribute name="context">
|
||||
{
|
||||
|
|
@ -60,6 +62,7 @@
|
|||
|
||||
|
||||
<xpath expr="//field[@name='user_ids']" position="after">
|
||||
<field name="user_ids" class="o_task_user_field" options="{'no_open': True, 'no_quick_create': True}" widget="many2many_avatar_user" domain="[('id', 'in', assignee_domain_ids)]" invisible="not is_generic"/>
|
||||
<field name="involved_user_ids" widget="many2many_avatar_user" invisible="is_generic"/>
|
||||
<field name="is_generic" readonly="not has_supervisor_access"/>
|
||||
<field name="record_paused" invisible="1"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue