Skip to content

[18.0][MIG] project_task_personal_stage_auto_fold #1549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: 18.0
Choose a base branch
from

Conversation

Andrii9090
Copy link

Straight worward migration. In Odoo 18 stage Canceled changed to Cancelled.

MT-10885 @moduon @rafaelbn @yajo @EmilioPascual @u0f

Shide and others added 16 commits July 24, 2025 15:28
This module adds the behavior to change the Personal Stage of the task to the first Folded one when the task reachs an stage with "Mark as Done".
If the Personal Stage is already folded, does nothing.

Simplifies the behavior of closing a task, go back to Personal Stages and move it to the Pesonal Done stage.
Chooses Personal Stages with the same name before Closing stages or Folded stages.
Tests to ensure expected behaviour
…akes original test fail

By inheriting the tests of project module one of the test defined in the original module is failing,
by copying the setUpClass we avoid this error.
Currently translated at 100.0% (1 of 1 strings)

Translation: project-16.0/project-16.0-project_task_personal_stage_auto_fold
Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_task_personal_stage_auto_fold/hr/
Currently translated at 100.0% (1 of 1 strings)

Translation: project-16.0/project-16.0-project_task_personal_stage_auto_fold
Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_task_personal_stage_auto_fold/it/
Currently translated at 100.0% (1 of 1 strings)

Translation: project-16.0/project-16.0-project_task_personal_stage_auto_fold
Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_task_personal_stage_auto_fold/pt_BR/
Currently translated at 100.0% (1 of 1 strings)

Translation: project-16.0/project-16.0-project_task_personal_stage_auto_fold
Translate-URL: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_task_personal_stage_auto_fold/es/
@EmilioPascual
Copy link

Good job @Andrii9090, thank you. Just a small change.

@Andrii9090 Andrii9090 force-pushed the 18.0-mig-project_task_personal_stage_auto_fold branch from 37a7913 to 4c8a4a4 Compare July 25, 2025 10:36
Copy link
Member

@yajo yajo left a comment

Choose a reason for hiding this comment

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

Please see this video. I think we don't need this module anymore in v18:

Projects.-.25.July.2025.mp4

@rafaelbn
Copy link
Member

Review with @Andrii9090 . We should migrate it as the new features are for other purposes. Anyway we should learn new features.

@rafaelbn
Copy link
Member

/ocabot migration project_task_personal_stage_auto_fold

Copy link
Member

@rafaelbn rafaelbn left a comment

Choose a reason for hiding this comment

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

Hello! Thanks for this migration 😄

After reviewing the migration I would recommend not comparing the name of personal stage with the name of project.task.stage because project task stages shouldn't be the same name. Like video edition and the final stage of the task in the project is Published. The personal stage is Done.

Thanks ❤️

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.