-
-
Notifications
You must be signed in to change notification settings - Fork 742
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] supplier_calendar: Migration to 17.0 #2264
[17.0] [MIG] supplier_calendar: Migration to 17.0 #2264
Conversation
Fix pre-commit errors by addind the correct `website` key
Currently translated at 100.0% (8 of 8 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-supplier_calendar Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-supplier_calendar/it/
Currently translated at 100.0% (8 of 8 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-supplier_calendar Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-supplier_calendar/es/
when delta argument is a float `plan_days` method can return unexpected False result. This can lead to silent errors. Therefore we ensure that delta is a integer in the helper.
if isinstance(delta, float): | ||
delta = round(delta) |
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.
ping @LoisRForgeFlow
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 @HviorForgeFlow
Those lines are on purpose and need to be there. (ref: #2255)
Please @bizzappdev do not remove it
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.
I added it back. @LoisRForgeFlow
c907c18
to
6afecfd
Compare
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!
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at c10d5eb. Thanks a lot for contributing to OCA. ❤️ |
No description provided.