-
-
Notifications
You must be signed in to change notification settings - Fork 387
[16.0][IMP]commission, account_commission: settlements grouped by payment date #643
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
base: 16.0
Are you sure you want to change the base?
Conversation
|
Hi @pedrobaeza, |
b7da3bb to
f801d17
Compare
|
Hi @pedrobaeza, @etobella sorry for bother! |
49a3dbf to
3650074
Compare
6de78ca to
58aa857
Compare
VBNext
left a comment
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.
Functionality tested. LGTM
19a7e9a to
56d6ba3
Compare
56d6ba3 to
91a9d45
Compare
|
Hi @pedrobaeza, @etobella sorry for bother! |
etobella
left a comment
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.
From my side, the code looks ok,
However, I don't know if it makes sense to split in an extra module and add the necessary hooks in account_comission 🤔
@pedrobaeza WDYT?
This pr allows to generate commissions based on the payment date.
For example, if you have three invoices from three different months but with a payment date in the same month, the current behavior generates three separate period, one for each month. With this change, however, all commissions are assigned to a single period.
It covers a similar scope but is managed in a different way #581