-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[14.0][FIX] product_form_sale_link: replace sales_count by a coherent one #2120
[14.0][FIX] product_form_sale_link: replace sales_count by a coherent one #2120
Conversation
3a1a695
to
008673f
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.
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.
👍
The sales_count field is already used in odoo for another button, which calculates the sum of the quantity of that product for each sale line instead of the number of sale lines. Now, the number in the button show the correct number of sale lines.
008673f
to
11cf175
Compare
This PR has the |
/ocabot merge minor |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at eea10da. Thanks a lot for contributing to OCA. ❤️ |
The sales_count field is already used in odoo for another button, which calculates the sum of the "product_uom_qty" of that product for each sale line instead of the number of sale lines.
Now, the number in the button show the correct number of sale lines.