How to do Linked Value

https://frappe.io/tutorial/naming-and-linking

I followed the steps to do linking for Linked Value for Read Only fields but it does not work.

@Justin_Lu, if the field is read-only, you need set the value in the code