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