From 1e590e3b12b1ce2e9bba760521cd7b521fddb414 Mon Sep 17 00:00:00 2001 From: aisopuro Date: Tue, 16 Aug 2016 16:19:32 +0300 Subject: [PATCH] [FIX] Fix style errors in the invoice: - The invoice lines wrapped text poorly for long line descriptions. The text is now in line with the product name. - The margins for the header and the start of the invoice were pretty large. These have been decreased somewhat. Various other margins and min-heights have also been adjusted. - The bank statement part, if it propagated to the following page, overlapped with the header of that page. The header has been properly separated to a separate template, so that the page and header are not rendered in the same space for PDF reports. - The sum and taxes part of the invoice is forced to stay in one part so it doesn't split on page breaks. Closes #7 --- report/report_invoice.xml | 589 +++++++++++++++++--------------- report/report_layout.xml | 2 +- report/report_layout_header.xml | 28 +- 3 files changed, 348 insertions(+), 271 deletions(-) diff --git a/report/report_invoice.xml b/report/report_invoice.xml index 013f166..d71f7ac 100644 --- a/report/report_invoice.xml +++ b/report/report_invoice.xml @@ -4,140 +4,121 @@ diff --git a/report/report_layout_header.xml b/report/report_layout_header.xml index 8f6e99d..fa25106 100644 --- a/report/report_layout_header.xml +++ b/report/report_layout_header.xml @@ -3,7 +3,33 @@