changeset 0781fb97a0c9 in modules/account_stock_continental:default
details:
https://hg.tryton.org/modules/account_stock_continental?cmd=changeset;node=0781fb97a0c9
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 9ed4247f7fa5 -r 0781fb97a0c9 product.py
--- a/product.py Wed Dec 04 11:09:35 2019 +0100
+++ b/product.py Fri Dec 06 17:33:46 2019 +0100
@@ -164,8 +164,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 &= all(table.column_exist(c) for c in account_names)