Setup#

When the Country Module is activated it does not create any country, subdivision or postal code records. You do this using the provided scripts.

Loading and updating countries and subdivisions#

The trytond_import_countries script loads and updates Tryton with the ISO 3166 list of Countries and Subdivisions.

You run it with:

trytond_import_countries -c trytond.conf -d <database>

Loading and updating postal codes#

You can use the trytond_import_postal_codes script to load and update the Postal Codes in Tryton from the GeoNames Database. It is run with:

$ trytond_import_postal_codes -c trytond.conf -d <database> <two_letter_country_code>