How to make probability % field non editable in opportunity module?

Hello everyone,

How to make probability (%) field non editable in opportunity module?
When we select sales stage while creating an opportunity, Probability % will automatically select the % with respect to sales stage,
Now I want to make this field non editable, so no one can mis match the %.

In which file I have to change or what setting I have to make?
please help me?

You have two options:

1- Modify the core code that handles the probability dom, set your Probability field to view only and work over the javascript code
2- Make your Probability field visible only in DetailView, and with workflows change your Probability

best regards

Ya, but please tell me step by steps because I am new in that and I am totally confused which file I should change, I tried but its not working.
I was trying to make that field type=readonly. Please explain me.

I can’t help you with that, there’s a lot to look at and I think it won’t be upgrade safe

best regards

Which way were you thinking of going with this? I would personally go with removing the field from the editview and leaving it display in DetailView as per mikebeck’s suggestion.