Skip to content

[19.0][MIG] project_task_name_with_id: Migration to 19.0#1579

Merged
OCA-git-bot merged 17 commits intoOCA:19.0from
qrtl:19.0-mig-project_task_name_with_id
Mar 3, 2026
Merged

[19.0][MIG] project_task_name_with_id: Migration to 19.0#1579
OCA-git-bot merged 17 commits intoOCA:19.0from
qrtl:19.0-mig-project_task_name_with_id

Conversation

@AungKoKoLin1997
Copy link
Copy Markdown
Contributor

@qrtl QT5667

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 19.0-mig-project_task_name_with_id branch from 26c43ec to 4444609 Compare October 9, 2025 03:47
Copy link
Copy Markdown
Member

@yostashiro yostashiro left a comment

Choose a reason for hiding this comment

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

Code review and functional test. LGTM.

@rousseldenis
Copy link
Copy Markdown

/ocabot migration project_task_name_with_id


- Yoshi Tashiro

- Miquel Pascual <mpascual@apsl.net>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why putting him beneath ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think @AungKoKoLin1997 included my name here as the module was done by me initially, and he just followed the order of contributions. We will fix it if that's an issue.

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 19.0-mig-project_task_name_with_id branch from 4444609 to 0c22bb2 Compare January 23, 2026 07:38
Copy link
Copy Markdown

@nobuQuartile nobuQuartile left a comment

Choose a reason for hiding this comment

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

Code review and functional test: LGTM

Copy link
Copy Markdown
Contributor

@alexey-pelykh alexey-pelykh left a comment

Choose a reason for hiding this comment

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

Thanks for the migration, @yostashiro.

Compared to the 18.0 version: the expression.AND to Domain.AND migration looks correct, and the if not task.id: continue guard in _compute_display_name is a good defensive addition for NewId records. The search view now correctly targets project.view_task_search_form_project_base instead of the old sharing search view -- makes sense given the 19.0 view restructuring.

One minor note: the DESCRIPTION.md still references name_get() which was removed in Odoo 17 in favor of _compute_display_name. Not blocking, but worth a follow-up to keep the docs accurate.

CI green on both OCB and Odoo, pre-commit passes. LGTM.

@@ -0,0 +1,7 @@
This module extends the name_search() and name_get() methods of the
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.

Nit: this still mentions name_get() which no longer exists since Odoo 17 -- the module now overrides _compute_display_name. Consider updating the wording in a follow-up.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I updated.
Thank you.

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 19.0-mig-project_task_name_with_id branch from 0c22bb2 to f59c56d Compare March 2, 2026 01:57
Copy link
Copy Markdown
Member

@CristianoMafraJunior CristianoMafraJunior left a comment

Choose a reason for hiding this comment

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

LGTM

@alexey-pelykh
Copy link
Copy Markdown
Contributor

/ocabot merge minor

@OCA-git-bot
Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 19.0-ocabot-merge-pr-1579-by-alexey-pelykh-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 681f8df into OCA:19.0 Mar 3, 2026
5 of 7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at b7b3246. Thanks a lot for contributing to OCA. ❤️

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants