I have successfully added a new client attribute (account number), but I need to make this field read-only in the backend (it is filled with ERP software and should be visible, but not editable through the Magento admin panel).
I used an observer with the lockAttribute method so that the directory attributes (category / product) are read-only in the admin panel, but there seems to be no corresponding method for client attributes.
What is the best way to accomplish this?
source share