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

How I can use linked fields on odoo online  or odoo 12 .

I have created a field Direction and I would like to link my second field Department to Branch and Group to Department

頭像
捨棄
最佳答案


you can use related field for that,

ex:
participant_nick = fields.Char(string='Nick name', related='partner_id.name')

or else you have to use dynamic domain filter to display department according to the branch changes.
please follow this link for apply dynamic domain filters: \https://www.linkedin.com/pulse/how-set-dynamic-domain-filter-many2one-field-odoo-rishan-malaka/


頭像
捨棄