Skip to Content
Menu
This question has been flagged
3 Replies
4296 Views

Hi,


Create Model and fields. When i try to select the value in the Form 

it shows try to select the value, it shows model name,id instead value


Model 

x_res.users.quota 

Fields in the Model

x_Quota fields added in the "User" Model  (Many2one) 


_Quota 

x_QName 



In User Form: 


Avatar
Discard
Best Answer

Hi Arul:

Like Ravi mentioned, you need a name field in the model. If you are doing this via the UI, it should work if you change x_Qname (the char field) to x_name. Odoo will recognize it as a custom defined name field and display the contents of this field in the screen/report.

Avatar
Discard
Best Answer

add name field on 'x_res.users.quota ' model

Issue '
x_res.users.quota` model have only many2one field not name field it's couldn't display on UI
it can also solve by defining '_rec_name' field on a model but there is no option available to define rec_name via UI   

Avatar
Discard
Related Posts Replies Views Activity
1
Apr 23
2667
3
Oct 20
5879