El 20/06/16 a les 22:45, Markus Bala ha escrit:

On Jun 20, 2016 9:35 PM, "Cédric Krier" <cedric.kr...@b2ck.com <mailto:cedric.kr...@b2ck.com>> wrote:
>
> On 2016-06-20 16:01, Sergi Almacellas Abellana wrote:
> > AFAIK you have to start a new transaction for each Thread. See:
> >
> > http://doc.tryton.org/4.0/trytond/doc/ref/transaction.html?highlight=start#trytond.transaction.Transaction.start
>
May I know how to get the database name and user?
They are properties of the current transaction. See:

http://doc.tryton.org/4.0/trytond/doc/ref/transaction.html?highlight=transaction#module-trytond.transaction

--
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/576863BF.9040900%40koolpi.com.

Reply via email to