-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
[15.0][FIX]account_commission: Settlement on reversed moves #503
[15.0][FIX]account_commission: Settlement on reversed moves #503
Conversation
Hi @pedrobaeza, |
d5b292f
to
3409822
Compare
The PR is ready @HaraldPanten @ValentinVinagre |
3409822
to
bb2c23a
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 👍🏻
@HaraldPanten @Jesarregui , could you review it please? |
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
@pedrobaeza do you see it correct? |
This PR has the |
bb2c23a
to
305051e
Compare
/ocabot merge patch Please forward-port it to v16 |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at e0f7dfe. Thanks a lot for contributing to OCA. ❤️ |
@Tisho99 Can you also make the change in v.16? |
There is an error on a use case generating the settlements for the commission on invoices. Steps to reproduce
1 Set up a commission with Invoice State based on paids
2 Create an invoice, confirm it, and asociate his lines to an agent.
3 Generate a credit note to make a full refund of the previous invoice.
4 Settle the commissions for the selected agent. The reversed invoice is not settled and it musts.
The addition of a unit test is pending