跳至內容
選單
此問題已被標幟
1 回覆
1403 瀏覽次數

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 

頭像
捨棄
最佳答案

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



頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 25
419
1
1月 24
1272
1
10月 24
1709
5
8月 23
3348
1
2月 22
2271