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] sale_commission_partial_settlement: handle settlement deletion #575

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

aleuffre
Copy link

@aleuffre aleuffre commented Nov 12, 2024

This commit fixes an issue where, if a settlement was deleted or canceled, any partial commission would not be recreated because it was still considered paid.

Includes a small refactor of the files and deletion of some unused fields.

@OCA-git-bot
Copy link
Contributor

Hi @renda-dev, @PicchiSeba,
some modules you are maintaining are being modified, check this out!

@francesco-ooops
Copy link
Contributor

@Daniel-Melian @dalonsofl FYI

@aleuffre aleuffre force-pushed the 14.0-commission-partial-delete branch 2 times, most recently from e01b4f9 to 672c126 Compare November 12, 2024 14:11
@aleuffre
Copy link
Author

Also added migration scripts

@aleuffre aleuffre force-pushed the 14.0-commission-partial-delete branch 5 times, most recently from ddef925 to ab5e010 Compare November 12, 2024 15:56
Copy link
Contributor

@francesco-ooops francesco-ooops left a comment

Choose a reason for hiding this comment

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

Functional ok!

To merge with nobump

@aleuffre aleuffre marked this pull request as draft November 13, 2024 13:17
This commit fixes an issue where, if a settlement was deleted, any
partial commission would not be recreated because it was still
considered paid.

Includes a small refactor of the files and deletion of
some unused fields.
@aleuffre aleuffre force-pushed the 14.0-commission-partial-delete branch from ab5e010 to 9b2ece1 Compare November 13, 2024 14:45
@aleuffre aleuffre marked this pull request as ready for review November 13, 2024 14:47
@aleuffre
Copy link
Author

Added a new field "is_fully_settled"

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.

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 14.0-ocabot-merge-pr-575-by-renda-dev-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 54294e4 into OCA:14.0 Nov 15, 2024
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 9ee050b. 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.

4 participants