In my module, there is a many2one selection field that refers to the class stock.quant. By default, it displays the name of product.
I want to display the location of the product. the _recname defined inside the stock.quant class is product_id , i changed the _recname to location_id .. But that dosnt change the display name.. What am missing here..
@niyas raphy : that doesnt worked
If you can update your question with the code and proper explanations.
You will get the proper answers from the forum.