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