Skip to content

Commit 9aa36a5

Browse files
committed
ACP2E-4167: [CLOUD] Admin Report does not show details when inventory is updated
1 parent 923203b commit 9aa36a5

File tree

1 file changed

+7
-0
lines changed
  • app/code/Magento/CatalogInventory/Model/Adminhtml/Stock

1 file changed

+7
-0
lines changed

app/code/Magento/CatalogInventory/Model/Adminhtml/Stock/Item.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* @since 100.0.2
2323
*
2424
* @deprecated 100.3.0 Replaced with Multi Source Inventory
25+
* @see Nothing
2526
* @link https://developer.adobe.com/commerce/webapi/rest/inventory/index.html
2627
* @link https://developer.adobe.com/commerce/webapi/rest/inventory/inventory-api-reference.html
2728
*/
@@ -117,6 +118,8 @@ protected function _hasDefaultNotificationMessage()
117118
}
118119

119120
/**
121+
* Check if model is used in admin area
122+
*
120123
* @return bool
121124
*/
122125
public function hasAdminArea()
@@ -125,6 +128,8 @@ public function hasAdminArea()
125128
}
126129

127130
/**
131+
* Flg to show default notification message
132+
*
128133
* @return bool
129134
* @SuppressWarnings(PHPMD.BooleanGetMethodName)
130135
*/
@@ -153,5 +158,7 @@ public function afterLoad()
153158
{
154159
parent::afterLoad();
155160
$this->setOrigData();
161+
162+
return $this;
156163
}
157164
}

0 commit comments

Comments
 (0)