Closed inluxc closed 7 years ago
I guess you do not have any items. This is the same as the installation issue. When you create another zone the extension will create new items for all the products with the new item id.
We will look for this to. Thanks for the time to report and test.
I think the same empty rule needs to be here: copyDataFromCatalogInventoryStockStatus, i did not test.
Issue close with commit https://github.com/EaDesgin/magento2-warehouses/commit/2f075653cbfb8c87df9c130fa3fd48c487a4612d
I get this error after i add a new warehouse
There was a problem saving the zoneSQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
magento2
.warehouseinventory_stock_item
, CONSTRAINTWAREHOUSEINV_STOCK_ITEM_STOCK_ID_WAREHOUSEINV_STOCK_STOCK_ID
FOREIGN KEY (stock_id
) REFERENCESwarehouseinventory_stock
(stock_id
), query was: INSERT INTOwarehouseinventory_stock_item
() VALUES ()