In my instance, all options for Custom Stock Status attribute are greyed out and I’m not able to edit them or add new ones

In my instance, all options for Custom Stock Status attribute are greyed out and I’m not able to edit them or add new ones

      The issue arises due to the reset entity in the DB that happens during module update/installation. In order to fix it, you need to modify the value of the is_user_defined entity in the DB.
This could be done with the following command:

UPDATE tableprefixeav_attribute SET is_user_defined = 1 WHERE attribute_code = 'custom_stock_status';
      In the command, please substitute the 'tableprefix' text with the table name corresponding to your instance. You can find the name of the table in the file app/etc/env.php:



      Alternatively, you can do the same manually via a DB manager you’re using (instead of running a command) - update the value of the entity and save the changes.
      If you face any difficulties, please contact our support team