Put customer VAT ID in the same line as the descriptor

This commit is contained in:
Martin Gross
2019-12-04 17:55:13 +01:00
parent 22eb9d3493
commit 61de010bbb

View File

@@ -467,7 +467,7 @@ class ClassicInvoiceRenderer(BaseReportlabInvoiceRenderer):
if self.invoice.invoice_to_vat_id:
story.append(Paragraph(
pgettext('invoice', 'Customer VAT ID') + ':<br />' +
pgettext('invoice', 'Customer VAT ID') + ': ' +
bleach.clean(self.invoice.invoice_to_vat_id, tags=[]).replace("\n", "<br />\n"),
self.stylesheet['Normal']
))