[18.0][MIG] project_status: Migration to 18.0 #1555
Conversation
AaronHForgeFlow
left a comment
There was a problem hiding this comment.
I have this error in runbot when accessing any project:
File "/mnt/data/odoo-addons-dir/project_status/models/project.py", line 13, in _read_group_status_ids
env["project.status"].with_user(SUPERUSER_ID)._search(domain, order=order)
File "/opt/odoo/odoo/models.py", line 5814, in _search
query.order = self._order_to_sql(order, query)
File "/opt/odoo/odoo/models.py", line 5600, in _order_to_sql
self._check_qorder(order)
File "/opt/odoo/odoo/models.py", line 5566, in _check_qorder
if not regex_order.match(word):
TypeError: expected string or bytes-like object
13353d7 to
a0ce154
Compare
|
@AaronHForgeFlow, |
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
a0ce154 to
6bf7529
Compare
2f19479 to
c883de7
Compare
|
/ocabot migration project_status |
|
/ocabot merge nobump |
|
This PR looks fantastic, let's merge it! |
|
@leemannd your merge command was aborted due to failed check(s), which you can inspect on this commit of 18.0-ocabot-merge-pr-1555-by-leemannd-bump-nobump. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
alexey-pelykh
left a comment
There was a problem hiding this comment.
Thanks for the migration, looks good overall.
CI is green on the PR branch. The merge-attempt failure (project_assignment / project_sequence unique constraint violations) is unrelated to this module -- likely a transient conflict with other modules being merged in parallel.
The codecov/project failure is a repo-wide coverage threshold, not specific to this PR.
Code-wise, everything is clean for 18.0:
_read_group_status_idssignature is correct for the newgroup_expandcallback API- Security rules and multi-company support are properly implemented
- Views use appropriate 18.0 XML patterns
- Tests cover the core flow and exercise
_read_group_status_idsdirectly
One minor observation (non-blocking): using ir.sequence for status_sequence ordering is a bit unconventional compared to a plain integer field with drag-to-reorder, but it works fine as-is.
Ready to merge once the unrelated CI conflict is resolved (re-trigger the merge command should be enough).
BhaveshHeliconia
left a comment
There was a problem hiding this comment.
Functional review LGTM
|
/ocabot rebase |
|
@leemannd The rebase process failed, because command |
[FIX] Runbot Errors Fixed errors discovered by runbot [FIX] _description Fixed missing _description in project_status [FIX] Suggested Fixes More fixes from suggestions in comments [FIX] sequence change Slight change to status sequence code, added 'or 0' [UPD] readme [UPD] LINT Error Fixed LINT Error and updated view id's as suggested in review. [UPD] Update project_status.pot
[MIG] project_status: Migration to 14.0
Currently translated at 100.0% (25 of 25 strings) Translation: project-14.0/project-14.0-project_status Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_status/fr_FR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: project-14.0/project-14.0-project_status Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_status/
Currently translated at 100.0% (26 of 26 strings) Translation: project-14.0/project-14.0-project_status Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_status/es_AR/
Currently translated at 100.0% (26 of 26 strings) Translation: project-14.0/project-14.0-project_status Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_status/es/
Currently translated at 100.0% (26 of 26 strings) Translation: project-14.0/project-14.0-project_status Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_status/de/
Currently translated at 92.3% (24 of 26 strings) Translation: project-14.0/project-14.0-project_status Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_status/fr/
Currently translated at 100.0% (28 of 28 strings) Translation: project-16.0/project-16.0-project_status Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_status/it/
c883de7 to
52599a0
Compare
|
Hi @leemannd, could you try the merge again please |
|
/ocabot merge nobump |
|
This PR looks fantastic, let's merge it! |
|
Congratulations, your PR was merged at ea65b6a. Thanks a lot for contributing to OCA. ❤️ |
No description provided.