changeset e2a2a604b8bc in modules/account_stock_anglo_saxon:default
details:
https://hg.tryton.org/modules/account_stock_anglo_saxon?cmd=changeset;node=e2a2a604b8bc
description:
Use direct access to backend classes
issue8836
review258421002
diffstat:
product.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r 6c939d897f3d -r e2a2a604b8bc product.py
--- a/product.py Wed Dec 04 11:09:35 2019 +0100
+++ b/product.py Fri Dec 06 17:33:46 2019 +0100
@@ -50,8 +50,7 @@
@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')