I have used plugins to disable "qty" column:
namespace Venodr\Module\Plugin\CatalogInventory\Ui\DataProvider\Product;
use Magento\CatalogInventory\Ui\DataProvider\Product\AddQuantityFieldToCollection as Subject;
class AddQuantityFieldToCollection {
public function aroundAddField(Subject $subject, \Closure $proceed) {
//$proceed(); - uncomment to enable column;
return;
}
}
.../etc/di.xml:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/ObjectManager/etc/config.xsd">
<type name="Magento\CatalogInventory\Ui\DataProvider\Product\AddQuantityFieldToCollection">
<plugin
name="prxgt_wrhs_plugin"
type="Vendor\Module\Plugin\CatalogInventory\Ui\DataProvider\Product\AddQuantityFieldToCollection"
sortOrder="100"
disabled="false"/>
</type>
</config>