Skip to Content
Menu
This question has been flagged
1 Reply
1900 Views

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

Avatar
Discard
Best Answer


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/


Avatar
Discard