Hello Tryton Community,
The *.dump from the Tryton 3.8 client platform copied to the new server
converted to *.sql through command: pg_restore -f *.dump *.sql
psql -c "CREATE USER gnuhealth WITH CREATEDB;"
createdb gnuhealth0 –owner=gnuhealth
psql gnuhealth0 < /directory/*.sql
psql -c "ALTER DATABASE gnuhealth0 OWNER to tryton;"
psql -c "GRANT gnuhealth to tryton;"
psql -c "CREATE USER tryton WITH CREATEDB;"
The DB gnuhealth0 shows in the tryton 4.2 client but trying to connect the
message comes up:
Traceback (most recent call last):
File "/trytond/wsgi.py", line 47, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 41, in rpc
request, database_name, *request.rpc_params)
File "/trytond/protocols/dispatcher.py", line 53, in login
database_name, user, parameters, language=language)
File "/trytond/security.py", line 24, in login
User = pool.get('res.user')
File "/trytond/pool.py", line 170, in get
return self._pool[self.database_name][type][name]
KeyError: 'res.user'
Sometimes Missing dependencies: ['purchase_request']
Thanks for the help
MMoussa
--
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/b03ff38c-bfcb-4cd8-929b-c67d5a90db21%40googlegroups.com.