Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
5042 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Apr. 23
3331
3
Okt. 20
5879