Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1580 Näkymät

Hi All,

I have added a  new field name "x_studio_vendor_name" under Helpdesk Ticket model and would like to add it to Rating model.


How can I do this? Should I use the related field? However, how can I create the connection?


Not sure what to do. Any suggestion.

Thanks 

Avatar
Hylkää
Paras vastaus

Hi,

If you are trying to add a relational field in the model helpdesk and you need to connect that field with the rating model, you can make the field a Many2one field. Then you can select the records of the rating model in the helpdesk model.

Example:x_studio_vendor_name_id = fields.Many2one("model.rating")


Hope it helps



Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 25
537
1
tammik. 24
1346
1
lokak. 24
1858
5
elok. 23
3514
1
helmik. 22
2365