Use direct access to backend classes

issue8836
review258421002
This commit is contained in:
Nicolas Évrard
2019-12-06 17:33:46 +01:00
parent 919e95ec2b
commit bdc81e563f
+1 -2
View File
@@ -38,8 +38,7 @@ class PartySaleInvoiceGroupingMethod(ModelSQL, ValueMixin):
@classmethod
def __register__(cls, module_name):
TableHandler = backend.get('TableHandler')
exist = TableHandler.table_exist(cls._table)
exist = backend.TableHandler.table_exist(cls._table)
super(PartySaleInvoiceGroupingMethod, cls).__register__(module_name)