From 2e16c424cbffaa084effac7ae0072a19598dbf78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 24 Jul 2018 22:01:08 +0200 Subject: [PATCH] Add __table_handler__ to ModelSQL issue7581 review48531002 --- stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock.py b/stock.py index 2fd404ae08..d46a00dea6 100644 --- a/stock.py +++ b/stock.py @@ -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)