From ea218a2efd26f0491b1ff1ca4f1ea93ed9610236 Mon Sep 17 00:00:00 2001 From: Pablo Montenegro Date: Tue, 4 Oct 2022 14:37:28 +0000 Subject: [PATCH] [FIX] account_debt_report: debt report lines amounts closes ingadhoc/account-financial-tools#365 Ticket: 55504 Signed-off-by: Katherine Zaoral --- account_debt_report/models/res_partner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/account_debt_report/models/res_partner.py b/account_debt_report/models/res_partner.py index 61ad15395..98883206e 100644 --- a/account_debt_report/models/res_partner.py +++ b/account_debt_report/models/res_partner.py @@ -132,6 +132,8 @@ def get_line_vals( elif not grouped and record.payment_id: # si no agrupamos y es pago, agregamos nombre de diario para que sea mas claro name += ' - ' + record.journal_id.name + elif not record.payment_id: + last_payment_group_id = False # TODO tal vez la suma podriamos probar hacerla en el xls como hacemos en libro iva v11/v12 res.append(get_line_vals(