Skip to content

[MIG] project_task_project_required: Migration to 18.0 - #1790

Closed
SirPyTech wants to merge 17 commits into
OCA:18.0from
PyTech-SRL:18.0-mig-project_task_project_required
Closed

[MIG] project_task_project_required: Migration to 18.0#1790
SirPyTech wants to merge 17 commits into
OCA:18.0from
PyTech-SRL:18.0-mig-project_task_project_required

Conversation

@SirPyTech

Copy link
Copy Markdown

alexey-pelykh and others added 17 commits August 13, 2026 10:13
Currently translated at 100.0% (11 of 11 strings)

Translation: project-14.0/project-14.0-project_task_project_required
Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_task_project_required/it/
Currently translated at 100.0% (11 of 11 strings)

Translation: project-14.0/project-14.0-project_task_project_required
Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_task_project_required/it/
Currently translated at 100.0% (11 of 11 strings)

Translation: project-14.0/project-14.0-project_task_project_required
Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_task_project_required/it/
Currently translated at 100.0% (8 of 8 strings)

Translation: project-16.0/project-16.0-project_task_project_required
Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_task_project_required/pt_BR/
@OCA-git-bot OCA-git-bot added series:18.0 mod:project_task_project_required Module project_task_project_required labels Aug 13, 2026
@SirPyTech
SirPyTech marked this pull request as ready for review August 13, 2026 10:58

@tonygalmiche tonygalmiche left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on a local Odoo 18.0 instance: with "Require Projects on Tasks" enabled (default), creating a task without a project correctly raises a validation error; disabling the setting allows it again.
Works as expected.

@HekkiMelody HekkiMelody left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A functional comment, otherwise LGTM

Comment thread project_task_project_required/views/project_task.xml

@HekkiMelody HekkiMelody left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review, LGTM

@HekkiMelody

Copy link
Copy Markdown
Contributor

I've done some functional testing, and with the changes in v18, maybe this module can't be ported as-is anymore.

For example, the module project_todo from base Odoo lets the user create tasks without project that act as personal todos. With this module installed and the setting checked to require projects on tasks, project_todo is no longer usable as intended.

I think we should review the actual use-case for this module and maybe create something more specific for our needs.

@SirPyTech

Copy link
Copy Markdown
Author

Working on a different implementation is more effort than we can spend for this requirement, closing

@SirPyTech SirPyTech closed this Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.