Add __table_handler__ to ModelSQL
issue7581 review48531002
This commit is contained in:
1 parent
af0f044dd6
commit
6f1ba69a33
1 file changed
+1
-2
+1
-2
@@ -151,8 +151,7 @@ class LandedCost(Workflow, ModelSQL, ModelView):
|
||||
|
||||
@classmethod
|
||||
def __register__(cls, module_name):
|
||||
TableHandler = backend.get('TableHandler')
|
||||
table_h = TableHandler(cls, module_name)
|
||||
table_h = cls.__table_handler__(module_name)
|
||||
|
||||
# Migration from 3.8: rename code into number
|
||||
if table_h.column_exist('code'):
|
||||
|
||||
Reference in new issue
Block a user