Skip to content
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

[15.0][IMP] project_timeline: improved timeline handling for project tasks #1342

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

victoralmau
Copy link
Member

@victoralmau victoralmau commented Sep 27, 2024

FWP from 14.0: #1335 + #1345

Improved timeline handling for project tasks

The fields date_assign and date_end can't be used, as they are automatically rewritten on certain flow events (user assignation and stage changed to finished one), so we need dedicated fields for the planning. A previous change switches date_assign to date_start, but it didn't change demo data, and better to use a consistent naming, prefixing both fields with planned_.

This includes the migration scripts for preserving previous data, and automations to fill planned data from the previous fields. It also pre-fills planning information from assignation date/close date as a best effort pre-planning for existing tasks.

Please @pedrobaeza and @sergio-teruel can you review it?

@Tecnativa TT50618

The fields `date_assign` and `date_end` can't be used, as they are
automatically rewritten on certain flow events (user assignation and
stage changed to finished one), so we need dedicated fields for the
planning. A previous change switches `date_assign` to `date_start`, but
it didn't change demo data, and better to use a consistent naming,
prefixing both fields with `planned_`.

This includes the migration scripts for preserving previous data, and
automations to fill planned data from the previous fields. It also
pre-fills planning information from assignation date/close date as a
best effort pre-planning for existing tasks.

TT50618

Co-Authored-By: Pedro M. Baeza <[email protected]>
@pedrobaeza pedrobaeza added this to the 15.0 milestone Sep 27, 2024
@victoralmau victoralmau changed the title [15.0][IMP]project_timeline: improved timeline handling for project tasks [15.0][IMP] project_timeline: improved timeline handling for project tasks Sep 30, 2024
@victoralmau
Copy link
Member Author

Ping @chienandalu

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 15.0-ocabot-merge-pr-1342-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 4d539b8 into OCA:15.0 Oct 3, 2024
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza pedrobaeza deleted the 15.0-imp-project_timeline-TT50618 branch October 3, 2024 06:00
carlosdauden added a commit to Tecnativa/tms that referenced this pull request Oct 3, 2024
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.

5 participants