Relative Content

Tag Archive for pythonxmlonchangeerpodoo-17

How to domain district by state in Odoo 17?

In odoo, I have 2 fields: state_id and district_id. Essentially, I want to select a state, then when selecting a district, it will only show the districts that belong to that state. I usually do it like this:
t will create a dummy field