Can not import countries or currencies


I’m trying to import currencies and countries into a new database. I installed account module and dependencies. The command is:

trytond_import_countries -c tr.conf -d mydb

The error message is:

trytond.model.modelstorage.SelectionValidationError: The value "en_US" for field "Language" in ",name" of "Translation" is not one of the allowed options. -

I already installer English language. I’m using trytond==6.6.3. Same command works on 6.0, 6.2 and 6.4.

I guess the language of the admin user is not valid.

Effectively that is. I need to set admin user language.

PD. May be useful to add the en language as default.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.