Follow PEP-0249 for Transaction and backends

issue4949
review19781002
This commit is contained in:
Nicolas Évrard
2016-03-03 21:55:50 +01:00
parent 7fd3bf4cd5
commit 0dd86231ec
+1 -1
View File
@@ -303,7 +303,7 @@ class Period:
Lot = pool.get('stock.lot')
Date = pool.get('ir.date')
Lang = pool.get('ir.lang')
cursor = Transaction().cursor
cursor = Transaction().connection.cursor()
move = Move.__table__()
lot = Lot.__table__()