From b4977054be616b8c746c070e48d276faaf8edb3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 6 Dec 2019 17:33:46 +0100 Subject: [PATCH] Use direct access to backend classes issue8836 review258421002 --- product.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product.py b/product.py index a538ae538f..0443b720d5 100644 --- a/product.py +++ b/product.py @@ -50,8 +50,7 @@ class CategoryAccount(metaclass=PoolMeta): @classmethod def __register__(cls, module_name): - TableHandler = backend.get('TableHandler') - exist = TableHandler.table_exist(cls._table) + exist = backend.TableHandler.table_exist(cls._table) if exist: table = cls.__table_handler__(module_name) exist &= table.column_exist('account_cogs')