2014-12-02 12:55:15 +01:00
|
|
|
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
|
# this repository contains the full copyright notices and license terms.
|
2008-10-22 20:20:29 +02:00
|
|
|
|
2012-09-24 22:17:52 +02:00
|
|
|
from trytond.pool import Pool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
2020-07-04 23:38:22 +02:00
|
|
|
# Prevent to import backend when importing scripts
|
|
|
|
|
from . import country
|
2012-09-24 22:17:52 +02:00
|
|
|
Pool.register(
|
2022-09-15 21:45:37 +02:00
|
|
|
country.Organization,
|
|
|
|
|
country.OrganizationMember,
|
2022-09-12 21:31:06 +02:00
|
|
|
country.Region,
|
2020-03-01 12:33:52 +01:00
|
|
|
country.Country,
|
|
|
|
|
country.Subdivision,
|
2021-03-31 23:59:33 +02:00
|
|
|
country.PostalCode,
|
2012-09-24 22:17:52 +02:00
|
|
|
module='country', type_='model')
|