partner-contact/base_location/models/state.py
2021-12-26 03:13:45 +00:00

12 lines
299 B
Python

# Copyright 2016 Nicolas Bessi, Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from flectra import models, fields
class ResCountryState(models.Model):
_inherit = 'res.country.state'
better_zip_ids = fields.One2many('res.better.zip', 'state_id', 'Cities')