Follow PEP-0249 for Transaction and backends
issue4949 review19781002
This commit is contained in:
+1
-2
@@ -95,8 +95,7 @@ class PriceListLine(ModelSQL, ModelView, MatchMixin):
|
||||
@classmethod
|
||||
def __register__(cls, module_name):
|
||||
TableHandler = backend.get('TableHandler')
|
||||
cursor = Transaction().cursor
|
||||
table = TableHandler(cursor, cls, module_name)
|
||||
table = TableHandler(cls, module_name)
|
||||
|
||||
super(PriceListLine, cls).__register__(module_name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user