l10n-switzerland-flectra/base_location/models/state.py

12 lines
299 B
Python
Raw Normal View History

2021-07-22 15:21:38 +00:00
# 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')