diff --git a/source/app/controllers/util.py b/source/app/controllers/util.py index 02e9979..c8421e1 100644 --- a/source/app/controllers/util.py +++ b/source/app/controllers/util.py @@ -811,6 +811,9 @@ class LIBO(object): col5.append((float(valor_unitario),)) col6.append((float(importe),)) + if not count: + return + col = cell_1.getCellAddress().Column target1 = self._sheet.getCellRangeByPosition(col, row+1, col, row+count) col = cell_2.getCellAddress().Column