l10n-switzerland-flectra/base_location/models/state.py
Raphael Ritter 876516c055 [ADD] base_location
[FIX] l10n_ch_zip
2021-07-22 17:21:38 +02: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')