Hi, I would like to know if there is a way execute SQL statements using python-sql’s table() from models in Proteus. I wrote a script that process some data offline using models and custom sql query. Normally if this were written inside a Trytond module, I would use the cursor from the Transaction instance, i.e.:
cursor = Transaction().connection.cursor()
But it seems that Transaction() is not available in Proteus, or I don’t really know how to access it. Can anyone help me with this?