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

purchase_sale_inter_company: fix validation of several picking. self can have more than one record #523

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

sebastienbeau
Copy link
Member

@sebastienbeau sebastienbeau commented Oct 23, 2023

If you try to validate more then one picking.
It will raise an error.
Refactor the code to fix the incompatibility, and clean it to make it simplier and more readable

Fix pr : #507

@sebastienbeau
Copy link
Member Author

@renda-dev

Copy link
Contributor

@renda-dev renda-dev left a comment

Choose a reason for hiding this comment

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

Code review LGTM, thank you!

@francesco-ooops
Copy link
Contributor

@sebastienbeau since we put some effort in writing tests for #507 , can I ask you to increase coverage for this fix too?

Thank you!

@sebastienbeau sebastienbeau force-pushed the 14.0-fix-broken-multi-record branch from 67bbdf0 to 224cdc5 Compare December 8, 2023 00:06
@sebastienbeau
Copy link
Member Author

@francesco-ooops, I have added the test and done a rebase, it's should be ready for the merge, it's ok for you ?

@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). 🤖

@bguillot
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 14.0-ocabot-merge-pr-523-by-bguillot-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit e2aa1fc into OCA:14.0 Dec 13, 2023
10 checks passed
@OCA-git-bot
Copy link
Contributor

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

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.

6 participants