diff --git a/trytond/web_service/db.py b/trytond/web_service/db.py index 93f382b80c..592b14986e 100644 --- a/trytond/web_service/db.py +++ b/trytond/web_service/db.py @@ -38,7 +38,7 @@ class DB(Service): try: try: cursor.execute('CREATE DATABASE "' + db_name + '" '\ - 'ENCODING \'unicode\'') + 'TEMPLATE template0 ENCODING \'unicode\'') cursor.commit() cursor.close()