See also:
- How to make a partial refund?
- What is an «Adjustment Refund» for a credit memo?
- What is an «Adjustment Fee» for a credit memo?
- Bug: the
setAdjustmentPositive()
andsetAdjustmentNegative()
methods of the\Magento\Sales\Model\Order\Creditmemo
class wrongly use the\Magento\Sales\Model\Order
'sgetGrandTotal()
method instead of thegetBaseGrandTotal()
when an adjusment is in percent, so it lead to a wrong calculation result