2012-09-18 13:39:17 +02:00
|
|
|
# -*- encoding: utf-8 -*-
|
2018-01-17 17:56:55 +01:00
|
|
|
# This file is part country_zip_es module for Tryton.
|
|
|
|
# The COPYRIGHT file at the top level of this repository contains
|
|
|
|
# the full copyright notices and license terms.
|
2012-10-30 14:19:54 +01:00
|
|
|
|
2014-02-11 20:33:55 +01:00
|
|
|
from trytond.pool import Pool
|
2018-01-17 17:56:55 +01:00
|
|
|
from . import country_zip
|
|
|
|
from . import address
|
2014-02-11 20:33:55 +01:00
|
|
|
|
|
|
|
|
2012-10-30 14:19:54 +01:00
|
|
|
def register():
|
2014-02-11 20:33:55 +01:00
|
|
|
Pool.register(
|
2018-01-17 17:56:55 +01:00
|
|
|
address.Address,
|
|
|
|
country_zip.LoadCountryZipsStart,
|
2014-02-11 20:33:55 +01:00
|
|
|
module='country_zip_es', type_='model')
|
|
|
|
Pool.register(
|
2018-01-17 17:56:55 +01:00
|
|
|
country_zip.LoadCountryZips,
|
2014-02-11 20:33:55 +01:00
|
|
|
module='country_zip_es', type_='wizard')
|