title: Load Country -> State -> City depencency in Odoo
body: <p>How can we create dependent selection of Country->State->City in Odoo?</p>
  
  <ul>
  <li>For example - 
  
  <ul>
  <li>Selected Country = United States 
  
  <ul>
  <li>which will load All state of US</li>
  </ul></li>
  <li>State = Texas, California, Ohio, .. etc, 
  
  <ul>
  <li>Selected state = Texas</li>
  <li>On Selection of State, it will load all Cities in selected state.</li>
  </ul></li>
  <li>City = Austin, Huston, ..etc.</li>
  </ul></li>
  </ul>
  
  <p>How can we achieve this in Odoo?</p>
  
  <p>I have created below code in model.py</p>
  
  <pre class="lang-py prettyprint-override"><code>country = fields.Many2one('res.country',string='Country', help='Select Country')
  state = fields.Many2one('state.country',string='State', help='Enter State')
  city = fields.Char('City', help='Enter City')
  </code></pre>
  
  <p>view.xml file is having just below code:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;field name="country"/&gt;
  &lt;field name="state"/&gt;
  &lt;field name="city"/&gt;
  </code></pre>