account-analytic icon indicating copy to clipboard operation
account-analytic copied to clipboard

[17.0][MIG] purchase_request_analytic: Migration to 17.0

Open StefanRijnhart opened this issue 1 year ago • 3 comments

For lack of a 16.0 version, the migration from analytic_account_id to analytic_distribution is done here.

StefanRijnhart avatar Jul 08 '24 13:07 StefanRijnhart

@StefanRijnhart Thanks. Maybe changes could have been put in separate commit in order to be backported ?

rousseldenis avatar Jul 08 '24 15:07 rousseldenis

@rousseldenis I don't have time for that but it should be easy for the person who requires the module to work on 16.0

StefanRijnhart avatar Jul 08 '24 16:07 StefanRijnhart

/ocabot migration purchase_request_analytic

StefanRijnhart avatar Jul 08 '24 17:07 StefanRijnhart

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. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Nov 10 '24 12:11 github-actions[bot]

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. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Apr 27 '25 12:04 github-actions[bot]

@AaronHForgeFlow That might never happen. Why wait?

StefanRijnhart avatar Apr 28 '25 08:04 StefanRijnhart

I mean, merge this now and if for some reason it is added in 16.0 create a new PR to remove the migration scripts here.

AaronHForgeFlow avatar Apr 28 '25 08:04 AaronHForgeFlow

@AaronHForgeFlow Thanks for clarifying! As for removing the script once a 16.0 module is published, we don't even have to do that as it would break the migration of people who migrate from 15 to 17 using the Odoo enterprise migration service like me. As it is, the migration script already checks if the field was created previously (in a future 16.0 version of this module) and then does nothing.

StefanRijnhart avatar Apr 28 '25 08:04 StefanRijnhart

I know it is a pain for the ones that migrate with the enterprise service. But I think it is a "rule" to delete migrations folders of older versions when doing a migration (https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0). Perhaps you can open a separate discussion in regards that topic. I am not against merging this now, so I will not block the PR because of it.

AaronHForgeFlow avatar Apr 28 '25 08:04 AaronHForgeFlow

@AaronHForgeFlow you are right, I will open that discussion if the matter becomes concrete again.

StefanRijnhart avatar Apr 28 '25 08:04 StefanRijnhart

/ocabot merge nobump

dreispt avatar Jun 02 '25 14:06 dreispt

This PR looks fantastic, let's merge it! Prepared branch 17.0-ocabot-merge-pr-671-by-dreispt-bump-nobump, awaiting test results.

OCA-git-bot avatar Jun 02 '25 14:06 OCA-git-bot

It looks like something changed on 17.0 in the meantime. Let me try again (no action is required from you). Prepared branch 17.0-ocabot-merge-pr-671-by-dreispt-bump-nobump, awaiting test results.

OCA-git-bot avatar Jun 02 '25 14:06 OCA-git-bot

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

OCA-git-bot avatar Jun 02 '25 14:06 OCA-git-bot