Skip to content
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

Merged
merged 1 commit into from
Dec 28, 2022

Conversation

MiquelRForgeFlow
Copy link
Contributor

@MiquelRForgeFlow MiquelRForgeFlow commented Jul 13, 2022

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.

@MiquelRForgeFlow MiquelRForgeFlow force-pushed the 14.0-ref-product_form_sale_link branch from 3a1a695 to 008673f Compare July 14, 2022 10:12
Copy link

@mariadforgeflow mariadforgeflow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MiquelRForgeFlow
Copy link
Contributor Author

@rousseldenis

Copy link
Contributor

@LoisRForgeFlow LoisRForgeFlow left a 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.
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@dreispt
Copy link
Member

dreispt commented Dec 28, 2022

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 14.0-ocabot-merge-pr-2120-by-dreispt-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 48496de into OCA:14.0 Dec 28, 2022
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at eea10da. Thanks a lot for contributing to OCA. ❤️

@MiquelRForgeFlow MiquelRForgeFlow deleted the 14.0-ref-product_form_sale_link branch January 9, 2023 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants