Use direct access to backend classes.
This commit is contained in:
parent
ed2c01a701
commit
2c74054f96
|
@ -219,7 +219,7 @@ class Invoice(metaclass=PoolMeta):
|
||||||
continue
|
continue
|
||||||
facturae_content = invoice.get_facturae()
|
facturae_content = invoice.get_facturae()
|
||||||
invoice._validate_facturae(facturae_content)
|
invoice._validate_facturae(facturae_content)
|
||||||
if backend.name() != 'sqlite':
|
if backend.name != 'sqlite':
|
||||||
invoice_facturae = invoice._sign_facturae(
|
invoice_facturae = invoice._sign_facturae(
|
||||||
facturae_content, certificate_password)
|
facturae_content, certificate_password)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue