-
Notifications
You must be signed in to change notification settings - Fork 104
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
[16.0][IMP] shopinvader_schema_sale: sale_line qty rounding #1503
[16.0][IMP] shopinvader_schema_sale: sale_line qty rounding #1503
Conversation
e545936
to
5964fd8
Compare
This PR has the |
/ocabot merge patch |
What a great day to merge this nice PR. Let's do it! |
@lmignon your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-1503-by-lmignon-bump-patch. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
@@ -20,5 +22,8 @@ def from_sale_order_line(cls, odoo_rec): | |||
product_id=odoo_rec.product_id.id, | |||
name=odoo_rec.name, | |||
amount=SaleLineAmount.from_sale_order_line(odoo_rec), | |||
qty=odoo_rec.product_uom_qty, | |||
qty=float_round( |
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.
you must use json_float_round
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.
Done
5964fd8
to
e354bf7
Compare
e354bf7
to
d44b9c4
Compare
/ocabot merge patch |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 7896b53. Thanks a lot for contributing to shopinvader. ❤️ |
No description provided.