Skip to content

Commit f8d8a68

Browse files
ENGCOM-3720: Fix negative credit memo #19899 #19900
- Merge Pull Request #19900 from wojtekn/magento2:fix_negative_credit_memo - Merged commits: 1. e840e41 2. 4a77f29
2 parents 4ee3bb3 + 4a77f29 commit f8d8a68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Sales/Model/Order/CreditmemoFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ protected function initData($creditmemo, $data)
200200
{
201201
if (isset($data['shipping_amount'])) {
202202
$creditmemo->setBaseShippingAmount((double)$data['shipping_amount']);
203+
$creditmemo->setBaseShippingInclTax((double)$data['shipping_amount']);
203204
}
204205
if (isset($data['adjustment_positive'])) {
205206
$creditmemo->setAdjustmentPositive($data['adjustment_positive']);

0 commit comments

Comments
 (0)