Add __table_handler__ to ModelSQL
issue7581 review48531002
This commit is contained in:
1 parent
c82a85c3aa
commit
2e16c424cb
1 file changed
+1
-1
@@ -47,7 +47,7 @@ class ConfigurationSequence(metaclass=PoolMeta):
|
||||
TableHandler = backend.get('TableHandler')
|
||||
exist = TableHandler.table_exist(cls._table)
|
||||
if exist:
|
||||
table = TableHandler(cls, module_name)
|
||||
table = cls.__table_handler__(module_name)
|
||||
exist &= table.column_exist('package_sequence')
|
||||
|
||||
super(ConfigurationSequence, cls).__register__(module_name)
|
||||
|
||||
Reference in new issue
Block a user