El 09/06/17 a les 11:43, Dr. Praveen Bhatia ha escrit:

This is the code that I wrote:
import os
os.environ['DB_NAME']='mydb'

from trytond.tests.test_tryton import db_exist, drop_create,create_db,drop_db

The problem is here. As you are using the tests functions, the country data is not loaded as it's skiped for tests.

You should create de database using the backend tools.

Regards,
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/d53879e2-0bfb-f41f-be24-4c1923888e7a%40koolpi.com.

Reply via email to