Skip to content

[19.0][MIG] project_task_related: Migration to 19.0 - #1883

Open
szalatyzuzanna wants to merge 14 commits into
OCA:19.0from
BinhexTeam:19.0-mig-project_task_related
Open

szalatyzuzanna wants to merge 14 commits into
OCA:19.0from
BinhexTeam:19.0-mig-project_task_related

Conversation

@szalatyzuzanna

@szalatyzuzanna szalatyzuzanna commented Nov 10, 2026 •

Copy link
Copy Markdown

Migration of project_task_related to 19.0.

Supersedes #1754, which was closed by its author without being merged.

Changes:

  • Remove the project.group_project_rating restriction from the rating column of the related tasks list, as that group no longer exists in 19.0.
  • Fix the computation of related_task_ids on new records: the search using the record id fails in 19.0 with NewId ("can't adapt type 'NewId'"), which made it impossible to create any task from the form view. The search returned the same records as forward_related_task_ids, so it is simply removed. A regression test creating a task through Form is added.
  • Support the new task templates: pass default_is_template and render_task_templates: False in the related tasks context, as Odoo does for the "Blocked By" tab, so that tasks created from a template are templates too, and the selection dialog is not restricted to templates when the task was opened from the "Templates" filter.

@BinhexTeam

david-banon-tecnativa and others added 13 commits November 10, 2026 10:37
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: project-17.0/project-17.0-project_task_related
Translate-URL: https://translation.odoo-community.org/projects/project-17-0/project-17-0-project_task_related/
Currently translated at 100.0% (9 of 9 strings)

Translation: project-17.0/project-17.0-project_task_related
Translate-URL: https://translation.odoo-community.org/projects/project-17-0/project-17-0-project_task_related/it/
Currently translated at 100.0% (9 of 9 strings)

Translation: project-18.0/project-18.0-project_task_related
Translate-URL: https://translation.odoo-community.org/projects/project-18-0/project-18-0-project_task_related/sl/
@OCA-git-bot OCA-git-bot added series:19.0 mod:project_task_related Module project_task_related labels Nov 10, 2026
@srodriguezb84
srodriguezb84 force-pushed the 19.0-mig-project_task_related branch from 17460e6 to 78e86fc Compare November 11, 2026 08:39
@szalatyzuzanna
szalatyzuzanna force-pushed the 19.0-mig-project_task_related branch from 78e86fc to d1f0989 Compare November 11, 2026 09:39
@szalatyzuzanna
szalatyzuzanna marked this pull request as ready for review November 11, 2026 09:46

@oliverg09 oliverg09 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:project_task_related Module project_task_related series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants