From e5fd954160d380f988c71212e5a8c26ac431cffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vyo=20Henrique?= Date: Tue, 19 Dec 2023 17:33:51 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20campo=20produto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quando se tem vários itens, normalmente acima de 20, os itens estão sobrescrevendo os campos de totais. --- pytrustnfe/nfe/danfce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytrustnfe/nfe/danfce.py b/pytrustnfe/nfe/danfce.py index fabab918..469dadac 100644 --- a/pytrustnfe/nfe/danfce.py +++ b/pytrustnfe/nfe/danfce.py @@ -221,7 +221,7 @@ def _draw_product_table(self, rows, colWidths, rowHeights): ) w, h = table.wrapOn(self.canvas, 200, 450) - table.drawOn(self.canvas, 0, self.current_height - (h * 1.2)) + table.drawOn(self.canvas, 0, self.current_height - h) self.current_height -= h * 1.1 def totais(self, oXML=None):