I just see the order status deletion when the module is uninstalled. If you do this, the orders which have already got this order status will lose some data, because they will be related to a non-existing order status.
You have to know that deleting them directly from the database is a really bad idea. The table _orderstate has a column deleted, which you should set as 1.
I just see the order status deletion when the module is uninstalled. If you do this, the orders which have already got this order status will lose some data, because they will be related to a non-existing order status.
You have to know that deleting them directly from the database is a really bad idea. The table _orderstate has a column
deleted
, which you should set as 1.