-
Notifications
You must be signed in to change notification settings - Fork 9.4k
AC-8286: Creditmemo on non-invoiced lines #37196 #37240
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: 2.4-develop
Are you sure you want to change the base?
AC-8286: Creditmemo on non-invoiced lines #37196 #37240
Conversation
Hi @adamphh. Thank you for your contribution! Add the comment under your pull request to deploy test or vanilla Magento instance:
❗ Automated tests can be triggered manually with an appropriate comment:
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
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.
Please cover your changes with some automated test
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run WebAPI Tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run WebAPI Tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
Update automation test
@magento run Unit Tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
…6-Creditmemo_on_non-invoiced_lines
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run all tests |
@magento run all tests |
@ihor-sviziev- I have updated the unit test file to include both scenarios. Could you please review it and provide your feedback? Thanks. Moving it to "Pending Review". |
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.
In general looks good, I suggest few improvements, but feel free to keep it as is if you believe it's better not to have it
app/code/Magento/Sales/Test/Unit/ViewModel/CreditMemo/Create/ItemsToRenderTest.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Sales/Test/Unit/ViewModel/CreditMemo/Create/ItemsToRenderTest.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Sales/Test/Unit/ViewModel/CreditMemo/Create/ItemsToRenderTest.php
Outdated
Show resolved
Hide resolved
@ihor-sviziev- Thanks for the suggestions. I have updated the code accordingly. |
@magento run all tests |
Hi @adamphh, Thanks for your Contribution!!. We have tried to reproduce the issue in Latest 2.4-develop instance and we are not able to reproduce the issue.Kindly refer the screenshots. Manual testing scenarios
![]() ![]() While doing CreditMemo the grid was showing only invoiced products.Could you please let us know if we are missing anything. Thanks. |
Hi @adamphh, Can you please provide your input on #37240 (comment) till then moving this PR to On Hold. Thank you! |
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)