Use trytond configuration for connection

issue4179
review5631002