I would like to disable a field in magento admin at default level.
The reason for this is I have built a bespoke stock integration which will overwrite the default values regularly.
I will populate the fields at "store view" level.
Things I have tried:
$installer->updateAttribute('catalog_product', 'name', 'readonly', 1);
$installer->updateAttribute('catalog_product', 'name', 'is_readonly', 1);
$installer->updateAttribute('catalog_product', 'name', 'disabled', 1);
$installer->updateAttribute('catalog_product', 'name', 'is_disabled', 1);
I understand that if this is possible I may not be able to make new products within Magento. I am ok with this due to the fact all sku's should be imported from our stock management.