When a db loads demo data, the stock module creates products which are connected to product.product_category_1. If we then want to install boxwise_wms, it throws an error.
Solution
This is a work around which checks whe it tries to delete the category if there is already some connected data.
Problem
When a db loads demo data, the stock module creates products which are connected to product.product_category_1. If we then want to install boxwise_wms, it throws an error.
Solution
This is a work around which checks whe it tries to delete the category if there is already some connected data.