[FIX]project_assignees:fix bug in allowing portal user as assignees
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "project_assignees",
|
"name": "project_assignees",
|
||||||
"version": "14.0.1.3.0",
|
"version": "14.0.1.3.1",
|
||||||
"author": "Elabore",
|
"author": "Elabore",
|
||||||
"website": "https://github.com/elabore-coop/project-tools",
|
"website": "https://github.com/elabore-coop/project-tools",
|
||||||
"maintainer": "Stéphan Sainléger",
|
"maintainer": "Stéphan Sainléger",
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
<field name="priority" eval="99" />
|
<field name="priority" eval="99" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='user_id']" position="attributes">
|
<xpath expr="//field[@name='user_id']" position="attributes">
|
||||||
<attribute name="domain">[('share', '=', True)]</attribute>
|
<attribute name="domain">['|', ('share', '=', False), ('share', '=', True)]</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
Reference in New Issue
Block a user