Follow PEP-0249 for Transaction and backends
issue4949
This commit is contained in:
1 parent
1184a6a164
commit
41c9de5bd2
1 file changed
+1
-1
+1
-1
@@ -79,7 +79,7 @@ class Agent(ModelSQL, ModelView):
|
||||
pool = Pool()
|
||||
Commission = pool.get('commission')
|
||||
commission = Commission.__table__()
|
||||
cursor = Transaction().cursor
|
||||
cursor = Transaction().connection.cursor()
|
||||
|
||||
ids = [a.id for a in agents]
|
||||
amounts = dict.fromkeys(ids, None)
|
||||
|
||||
Reference in new issue
Block a user