Read only in Entire Form

I want to read only entire form except qty field in form child table in Purchase Receipt for particular User how to achieve this ?

Hi @Rehan_Ansari,

Please try it in Read Only Depends On.

eval:frappe.session.user == ""

Thank You!

Can i do read only for all fields present in purchase receipt except Qty in child table in one go ? Using the above i have to write in every field right ?

If there is a section, you can directly add the condition to it. If the field is in a different position, you have to apply the condition one by one to the field. I haven’t try so please try to check it.

Okay Thanks