mirror of
https://gitlab.com/datalifeit/trytond-account_bank
synced 2023-12-14 06:23:07 +01:00
Follow PEP-0249 for Transaction and backends
This commit is contained in:
parent
1a82f18823
commit
301693280e
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ class Line:
|
|||
AND bool_or(aml.credit <> 0)
|
||||
)
|
||||
"""
|
||||
cursor = Transaction().cursor
|
||||
cursor = Transaction().connection.cursor()
|
||||
cursor.execute(query)
|
||||
return [('id', operator, [x[0] for x in cursor.fetchall()])]
|
||||
|
||||
|
|
Loading…
Reference in a new issue