[FIX]project_assignees:fix bug in allowing portal user as assignees

This commit is contained in:
2023-12-13 13:56:52 +01:00
committed by Stéphan Sainléger
parent da82a98bdd
commit d621f2d2ea
2 changed files with 2 additions and 2 deletions

View File

@@ -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",

View File

@@ -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>