[ADD]:Added Upstream patch for base_address_city

This commit is contained in:
sheetalPatil 2018-07-09 19:00:17 +05:30
parent 1617df3efc
commit 179c9f058d

View File

@ -10,7 +10,7 @@ from flectra.tools.translate import _
class Partner(models.Model):
_inherit = 'res.partner'
country_enforce_cities = fields.Boolean(related='country_id.enforce_cities')
country_enforce_cities = fields.Boolean(related='country_id.enforce_cities', readonly=True)
city_id = fields.Many2one('res.city', string='City')
@api.onchange('city_id')