Skip to content

Commit

Permalink
Low stock notifications grid fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov committed Nov 4, 2019
1 parent c25aa6f commit 663d4bc
Show file tree
Hide file tree
Showing 41 changed files with 44 additions and 42 deletions.
2 changes: 1 addition & 1 deletion Inventory/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_Inventory" setup_version="1.0.0"/>
<module name="Magento_Inventory"/>
</config>
2 changes: 1 addition & 1 deletion InventoryAdminUi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryAdminUi" setup_version="1.0.0" />
<module name="Magento_InventoryAdminUi" />
</config>
2 changes: 1 addition & 1 deletion InventoryApi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryApi" setup_version="1.0.0" />
<module name="Magento_InventoryApi" />
</config>
2 changes: 1 addition & 1 deletion InventoryBundleProduct/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryBundleProduct" setup_version="1.0.0" />
<module name="Magento_InventoryBundleProduct" />
</config>
2 changes: 1 addition & 1 deletion InventoryBundleProductAdminUi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryBundleProductAdminUi" setup_version="1.0.0" />
<module name="Magento_InventoryBundleProductAdminUi" />
</config>
2 changes: 1 addition & 1 deletion InventoryCache/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryCache" setup_version="1.0.0">
<module name="Magento_InventoryCache" >
<sequence>
<module name="Magento_InventoryIndexer"/>
</sequence>
Expand Down
2 changes: 1 addition & 1 deletion InventoryCatalog/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryCatalog" setup_version="1.0.0" />
<module name="Magento_InventoryCatalog" />
</config>
2 changes: 1 addition & 1 deletion InventoryCatalogAdminUi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryCatalogAdminUi" setup_version="1.0.0" >
<module name="Magento_InventoryCatalogAdminUi" >
<sequence>
<module name="Magento_InventoryCatalog"/>
</sequence>
Expand Down
2 changes: 1 addition & 1 deletion InventoryCatalogApi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryCatalogApi" setup_version="1.0.0" />
<module name="Magento_InventoryCatalogApi" />
</config>
2 changes: 1 addition & 1 deletion InventoryCatalogSearch/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryCatalogSearch" setup_version="1.0.0">
<module name="Magento_InventoryCatalogSearch" >
<sequence>
<module name="Magento_CatalogSearch"/>
<module name="Magento_InventoryCatalog"/>
Expand Down
2 changes: 1 addition & 1 deletion InventoryConfigurableProduct/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryConfigurableProduct" setup_version="1.0.0">
<module name="Magento_InventoryConfigurableProduct" >
<sequence>
<module name="Magento_ConfigurableProduct"/>
</sequence>
Expand Down
2 changes: 1 addition & 1 deletion InventoryConfigurableProductAdminUi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryConfigurableProductAdminUi" setup_version="1.0.0">
<module name="Magento_InventoryConfigurableProductAdminUi" >
<sequence>
<module name="Magento_InventoryConfigurableProduct"/>
</sequence>
Expand Down
2 changes: 1 addition & 1 deletion InventoryConfigurableProductIndexer/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryConfigurableProductIndexer" setup_version="1.0.0">
<module name="Magento_InventoryConfigurableProductIndexer" >
<sequence>
<module name="Magento_InventoryConfigurableProduct"/>
<module name="Magento_Catalog"/>
Expand Down
2 changes: 1 addition & 1 deletion InventoryConfiguration/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryConfiguration" setup_version="1.0.0"/>
<module name="Magento_InventoryConfiguration" />
</config>
2 changes: 1 addition & 1 deletion InventoryConfigurationApi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryConfigurationApi" setup_version="1.0.0" />
<module name="Magento_InventoryConfigurationApi" />
</config>
2 changes: 1 addition & 1 deletion InventoryElasticsearch/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryElasticsearch" setup_version="1.0.0"/>
<module name="Magento_InventoryElasticsearch" />
</config>
2 changes: 1 addition & 1 deletion InventoryExportStock/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryExportStock" setup_version="1.0.0">
<module name="Magento_InventoryExportStock" >
<sequence>
<module name="Magento_Catalog"/>
<module name="Magento_ConfigurableProduct"/>
Expand Down
2 changes: 1 addition & 1 deletion InventoryExportStockApi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryExportStockApi" setup_version="1.0.0"/>
<module name="Magento_InventoryExportStockApi" />
</config>
2 changes: 1 addition & 1 deletion InventoryGroupedProduct/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryGroupedProduct" setup_version="1.0.0" />
<module name="Magento_InventoryGroupedProduct" />
</config>
2 changes: 1 addition & 1 deletion InventoryGroupedProductAdminUi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryGroupedProductAdminUi" setup_version="1.0.0"/>
<module name="Magento_InventoryGroupedProductAdminUi" />
</config>
2 changes: 1 addition & 1 deletion InventoryGroupedProductIndexer/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryGroupedProductIndexer" setup_version="1.0.0">
<module name="Magento_InventoryGroupedProductIndexer" >
<sequence>
<module name="Magento_InventoryGroupedProduct"/>
<module name="Magento_Catalog"/>
Expand Down
2 changes: 1 addition & 1 deletion InventoryImportExport/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryImportExport" setup_version="1.0.0">
<module name="Magento_InventoryImportExport" >
<sequence>
<module name="Magento_Inventory"/>
</sequence>
Expand Down
2 changes: 1 addition & 1 deletion InventoryIndexer/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryIndexer" setup_version="1.0.0">
<module name="Magento_InventoryIndexer">
<sequence>
<module name="Magento_InventoryCatalog"/>
<module name="Magento_InventorySales"/>
Expand Down
2 changes: 1 addition & 1 deletion InventoryLowQuantityNotification/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryLowQuantityNotification" setup_version="1.0.0" />
<module name="Magento_InventoryLowQuantityNotification" />
</config>
3 changes: 2 additions & 1 deletion InventoryLowQuantityNotificationAdminUi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryLowQuantityNotificationAdminUi" setup_version="1.0.0" >
<module name="Magento_InventoryLowQuantityNotificationAdminUi">
<sequence>
<module name="Magento_Reports"/>
<module name="Magento_Catalog"/>
<module name="Magento_Inventory"/>
<module name="Magento_InventoryCatalogApi"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="adminhtml.report.grid.container">
<referenceBlock name="adminhtml.report.grid.container.inventory">
<block class="Magento\InventoryLowQuantityNotificationAdminUi\Block\Adminhtml\Product\Lowstock\Grid" name="adminhtml.block.report.product.inventory.lowstock.grid" as="grid">
<arguments>
<argument name="id" xsi:type="string">gridLowstock</argument>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<update handle="inventorylowquantitynotification_lowstock_grid"/>
<body>
<referenceContainer name="content">
<block class="Magento\Reports\Block\Adminhtml\Product\Lowstock" name="adminhtml.report.grid.container"/>
<referenceBlock name="adminhtml.report.grid.container" remove="true"/>
<block class="Magento\Reports\Block\Adminhtml\Product\Lowstock" name="adminhtml.report.grid.container.inventory"/>
</referenceContainer>
</body>
</page>
2 changes: 1 addition & 1 deletion InventoryLowQuantityNotificationApi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryLowQuantityNotificationApi" setup_version="1.0.0" />
<module name="Magento_InventoryLowQuantityNotificationApi" />
</config>
2 changes: 1 addition & 1 deletion InventoryMultiDimensionalIndexerApi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryMultiDimensionalIndexerApi" setup_version="1.0.0" />
<module name="Magento_InventoryMultiDimensionalIndexerApi" />
</config>
2 changes: 1 addition & 1 deletion InventoryProductAlert/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryProductAlert" setup_version="1.0.0"/>
<module name="Magento_InventoryProductAlert" />
</config>
4 changes: 2 additions & 2 deletions InventoryReservationCli/etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryReservationCli" setup_version="1.0.0">
<module name="Magento_InventoryReservationCli">
<sequence>
<module name="Magento_InventoryReservations"/>
<module name="Magento_Sales"/>
</sequence>
</module>
</config>
</config>
2 changes: 1 addition & 1 deletion InventoryReservations/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryReservations" setup_version="1.0.0"/>
<module name="Magento_InventoryReservations" />
</config>
2 changes: 1 addition & 1 deletion InventoryReservationsApi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryReservationsApi" setup_version="1.0.0" />
<module name="Magento_InventoryReservationsApi" />
</config>
2 changes: 1 addition & 1 deletion InventorySales/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventorySales" setup_version="1.0.0">
<module name="Magento_InventorySales">
<sequence>
<module name="Magento_Store"/>
<module name="Magento_Inventory"/>
Expand Down
2 changes: 1 addition & 1 deletion InventorySalesAdminUi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventorySalesAdminUi" setup_version="1.0.0">
<module name="Magento_InventorySalesAdminUi">
<sequence>
<module name="Magento_InventorySales"/>
</sequence>
Expand Down
2 changes: 1 addition & 1 deletion InventorySalesApi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventorySalesApi" setup_version="1.0.0" />
<module name="Magento_InventorySalesApi" />
</config>
2 changes: 1 addition & 1 deletion InventoryShipping/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryShipping" setup_version="1.0.0" />
<module name="Magento_InventoryShipping" />
</config>
2 changes: 1 addition & 1 deletion InventoryShippingAdminUi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventoryShippingAdminUi" setup_version="1.0.0">
<module name="Magento_InventoryShippingAdminUi">
<sequence>
<module name="Magento_Shipping" />
<module name="Magento_Sales" />
Expand Down
2 changes: 1 addition & 1 deletion InventorySourceDeductionApi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventorySourceDeductionApi" setup_version="1.0.0" />
<module name="Magento_InventorySourceDeductionApi" />
</config>
2 changes: 1 addition & 1 deletion InventorySourceSelection/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventorySourceSelection" setup_version="1.0.0" />
<module name="Magento_InventorySourceSelection" />
</config>
2 changes: 1 addition & 1 deletion InventorySourceSelectionApi/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_InventorySourceSelectionApi" setup_version="1.0.0" />
<module name="Magento_InventorySourceSelectionApi" />
</config>

0 comments on commit 663d4bc

Please sign in to comment.