On 2016-07-30 08:15, Marko Randjelovic wrote:
> The class Transaction as defined in trytond/transaction.py indeed contained 
> attribute cursor and in new version this attribute is missing. I need a 
> replacement way to execute the query as can be seen from the provided 
> excerpt of my code.

The cursor is accessible from the connection:
http://doc.tryton.org/4.0/trytond/doc/ref/transaction.html?highlight=cursor#trytond.transaction.Transaction.connection

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
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/20160730190337.GO16698%40tetsuo.

Reply via email to