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
feat: Add frequency type Six-monthly and biweekly. #3772
feat: Add frequency type Six-monthly and biweekly. #3772
Conversation
Hi @EdwinBetanc0urt this change look fine but the dictionary changes must be with centralized ID's: https://github.com/adempiere/adempiere/pull/3772/files#diff-ed5abd0d1ed4b33411b10b6a121fa242c139b4afdb768548fe5bc5d5ce4c622bR6 Give me the pachout and I can generate it for you Best regards |
@EdwinBetanc0urt, @yamelsenih can we move on here? |
Greetings @marcalwestf @yamelsenih , the migration xml has been updated with the new centralized ids. |
@EdwinBetanc0urt thanks Edwin, proceeding to test right now. |
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.
- XML loaded and applied
- Check Reference C_Commission Frequency: two entries added (Biweekly and Six-monthly), with translations
- Create two new Invoice Commission Definitions, one for Biweekly and another for Six-monthly and add Both GardenAdmin and GardenUser as Sales Representatives.
- Create four Commission Runs, twice referencing one of the new Commission Definitions
- Bi-weekly: set dates before and after 15th; Six-monthly: set dates before and after July 1st
- Run action prepare() for each Commission Run
- Check results: start and end dates correctly set on every run; correct invoice lines selected; correct commission amount calculated.
- Test was only run on Inovices (not run on Orders etc.) because it was not within the scope of the changes.
Test passed
fix #3771