diff --git a/vendor/magento/module-sales/Model/Order.php b/vendor/magento/module-sales/Model/Order.php index f272a4638a17..438ac858c580 100644 --- a/vendor/magento/module-sales/Model/Order.php +++ b/vendor/magento/module-sales/Model/Order.php @@ -694,7 +694,7 @@ public function canInvoice() */ public function canCreditmemo() { - if ($this->hasForcedCanCreditmemo()) { + if ($this->hasForcedCanCreditmemo() && $this->getData('forced_can_creditmemo') === true) { return $this->getForcedCanCreditmemo(); }