-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
[FIX] use lst_price for _compute_margin in product.product #193
[FIX] use lst_price for _compute_margin in product.product #193
Conversation
Hi @legalsylvain, |
8101091
to
990ba8f
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.
@@ -5,7 +5,7 @@ | |||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | |||
{ | |||
"name": "Product Margin and Margin Rate", | |||
"version": "16.0.1.0.1", | |||
"version": "16.0.1.0.2", |
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.
This is unncessary. Will be done automatically, once merged.
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.
noted @legalsylvain
990ba8f
to
137e3e5
Compare
@legalsylvain, I've made the necessary updates. Could you please review 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.
Thanks !
/ocabot merge patch |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 43d07fb. Thanks a lot for contributing to OCA. ❤️ |
The margin calculation functions correctly for products without variants.
However, there is an issue with the calculation for products that have variants.
Expected behavior