From 6f1ba69a3378da59c2f07d1f9cd868ee7ce1ed6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 24 Jul 2018 22:01:07 +0200 Subject: [PATCH] Add __table_handler__ to ModelSQL issue7581 review48531002 --- account.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/account.py b/account.py index 420f44ebe9..38153265d8 100644 --- a/account.py +++ b/account.py @@ -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'):