Skip to content

Commit

Permalink
[FIX] project: make project_ids field required
Browse files Browse the repository at this point in the history
When we create a project stage (project task type),
it is essential that we link it to a project.

Otherwise, the record created will never be accessible.

opw-3322992

closes odoo#122614

Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
  • Loading branch information
thle-odoo committed Jun 21, 2023
1 parent e4f538e commit d8920c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/project/views/project_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
<group>
<field name="fold"/>
<field name="is_closed" groups="base.group_no_one"/>
<field name="project_ids" widget="many2many_tags" options="{'color_field': 'color'}" groups="base.group_no_one"/>
<field name="project_ids" widget="many2many_tags" options="{'color_field': 'color'}" required="1"/>
</group>
</group>
<group string="Stage Description and Tooltips">
Expand Down

0 comments on commit d8920c1

Please sign in to comment.