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

[17.0][MIG] product_pricelist_fixed_currency_rate: Migration to 17.0 #1702

Conversation

kobros-tech
Copy link

I couldn't add my name in README file, but I added it in contributors file

@kobros-tech kobros-tech force-pushed the 17.0-mig-product_pricelist_fixed_currency_rate branch from d8f37c5 to 9247480 Compare August 6, 2024 15:32
@sanderlienaerts
Copy link

Hi @kobros-tech, please make sure to run pre-commit before migrating. The changes made by pre-commit should come in front of your migration commit.

While you are migrating, you can add yourself as contributor in the readme folder and the contributor file. Pre-commit will run again during the pre-commit phase of your migration commit and one of the actions it will execute is to prepare the readme and module info.

I haven’t looked at your changes, but will do once the commit with the pre-commit changes is present.

@kobros-tech
Copy link
Author

kobros-tech commented Aug 7, 2024 via email

@kobros-tech
Copy link
Author

kobros-tech commented Aug 7, 2024 via email

@@ -1 +1,2 @@
from . import models
from .hooks import pre_init_hook, post_init_hook, uninstall_hook, post_load

Choose a reason for hiding this comment

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

You can see the changes you've made in commit 7c1ef7a. The line this comment is on, was added - yet there's no hooks folder and there are no hooks implemented for this module. To fix the issue you are having now with the tests, remove this line.

name="currency_rate_tooltip"
nolabel="1"
attrs="{
'invisible': [('is_fixed_currency_rate_applicable', '=', False)]}"

Choose a reason for hiding this comment

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

The migration tasks have not been done. Please follow the tasks as mentioned in: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0#tasks-to-do-in-the-migration

@sanderlienaerts
Copy link

sanderlienaerts commented Aug 8, 2024

Before migrating, to not make things more difficult, please make sure to follow the steps in Technical method to migrate a module from "16.0" to "17.0" branch --> Full process. This ensures the pre-commit changes you need to do are present before the actual migration commit. Or maybe you should consider using the oca_port migration tool.

@kobros-tech kobros-tech force-pushed the 17.0-mig-product_pricelist_fixed_currency_rate branch 2 times, most recently from 2396802 to 91ae421 Compare August 8, 2024 14:01
@kobros-tech
Copy link
Author

kobros-tech commented Aug 8, 2024 via email

@kobros-tech
Copy link
Author

kobros-tech commented Aug 8, 2024 via email

@kobros-tech kobros-tech force-pushed the 17.0-mig-product_pricelist_fixed_currency_rate branch from 9247480 to 91ae421 Compare August 8, 2024 22:02
@kobros-tech kobros-tech closed this Aug 8, 2024
@kobros-tech kobros-tech deleted the 17.0-mig-product_pricelist_fixed_currency_rate branch August 8, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants