changeset 34898d28cdcd in modules/account_stock_landed_cost:default
details:
https://hg.tryton.org/modules/account_stock_landed_cost?cmd=changeset;node=34898d28cdcd
description:
Use direct access to backend classes
issue8836
review258421002
diffstat:
account.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r d0e1e6fca124 -r 34898d28cdcd account.py
--- a/account.py Wed Dec 04 11:09:35 2019 +0100
+++ b/account.py Fri Dec 06 17:33:46 2019 +0100
@@ -44,8 +44,7 @@
@classmethod
def __register__(cls, module_name):
- TableHandler = backend.get('TableHandler')
- exist = TableHandler.table_exist(cls._table)
+ exist = backend.TableHandler.table_exist(cls._table)
super(ConfigurationLandedCostSequence, cls).__register__(module_name)