feat(backends): implement new invoices backend #12
Annotations
11 errors
mypy:
weblate_web/invoices/models.py#L33
Skipping analyzing "weasyprint": module is installed, but missing library stubs or py.typed marker
|
mypy:
weblate_web/invoices/models.py#L51
Incompatible return value type (got "dict[str, Sequence[object]]", expected "dict[str, str | bytes]")
|
mypy:
weblate_web/invoices/models.py#L125
Signature of "save" incompatible with supertype "Model"
|
mypy:
weblate_web/invoices/models.py#L277
Name "get_quantity_unit_display" already defined on line 255
|
mypy:
weblate_web/invoices/models.py#L282
"InvoiceItem" has no attribute "_get_FIELD_display"
|
mypy:
weblate_web/invoices/models.py#L294
Incompatible type for "parent" of "Invoice" (got "InvoiceItem", expected "Invoice | Combinable | None")
|
mypy:
weblate_web/invoices/models.py#L296
"InvoiceItem" has no attribute "customer"
|
mypy:
weblate_web/invoices/models.py#L297
"InvoiceItem" has no attribute "customer_reference"
|
mypy:
weblate_web/invoices/models.py#L298
"InvoiceItem" has no attribute "discount"
|
mypy:
weblate_web/invoices/models.py#L299
"InvoiceItem" has no attribute "vat_rate"
|
mypy
Process completed with exit code 1.
|