省 res.country.state (odoo中已经存在)
市 country.city (需新建)
class CountryCity(models.Model):
_name = 'country.city'
_description = 城市模型
state_id = fields.Many2one('res.country.state', string='\u7701\u4efd')
name = fields.Char(string='\u57ce\u5e02\u540d\u79f0', required=True)
ext = fields.Char(string='\u6269\u5c55id', defau
1