Add custom field for invoice addresses

This commit is contained in:
Raphael Michel
2020-02-18 09:21:00 +01:00
parent 1c03d5d305
commit 9f6a3f9a6a
13 changed files with 67 additions and 2 deletions

View File

@@ -85,6 +85,7 @@ def build_invoice(invoice: Invoice) -> Invoice:
).split("\n") if a.strip()
)
invoice.internal_reference = ia.internal_reference
invoice.custom_field = ia.custom_field
invoice.invoice_to_company = ia.company
invoice.invoice_to_name = ia.name
invoice.invoice_to_street = ia.street