-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
[MIG] sale_coupon_criteria_multi_product: Migration to 14.0 #68
Conversation
|
||
sale_coupon_criteria = fields.Selection( | ||
coupon_criteria = fields.Selection( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok with the field renames (you can also do it with the filenames using git mv for better diff). Anyway, a migration script should be made. An example:
openupgrade.rename_fields
reference: https://github.com/OCA/openupgradelib/blob/master/openupgradelib/openupgrade.py#L585-L611
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
functionally LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @alvaro-domatix !
/ocabot migration sale_coupon_criteria_multi_product |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 601a174. Thanks a lot for contributing to OCA. ❤️ |
No description provided.