#4272: v2.0.4 Credit memos with adjustment fees cannot be fully refunded with a second credit memo #9715
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a bug fix for #4272 open issue reported. The problem reported to creditmemo and inability to create second creditmemo for same order in case Adjustment Fee has been used during creation of first creditmemo.
Description
The problem reported in #4272 issue highlights the fact of having 0 (ZERO) Subtotal during creating second creditmemo. However this is by design, neither Adjustment Refund nor Adjustment Fee should in any way reflect modifications in Subtotal, Shipping and Tax Totals.
Magento 2 documentation should be updated in order to highlight purpose of Adjustment Fee/Refund.
Adjustment Fee is used to subtract amount from the total amount refund. It is not subtracted from specific Total e.g. Shipping, Subtotal or Tax, it is additional amount on its own.
Adjustment Refund is used to add additional amount for the refund amount.
Fixed Issues
Manual testing scenarios
Pre-Setup scenario:
Scenario 1
Expected Result:
Scenario 2
Expected result:
Contribution checklist