Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
5007 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 23
3315
3
říj 20
5879