feat(l10n.mx.facturae): se agrega dominio para contar aquellos pagos que estan timbrados

se agrega dominio para contar aquellos pagos que estan timbrados
parent 106da622
Pipeline #21454 failed with stage
in 41 seconds
......@@ -126,6 +126,7 @@ class AccountVoucher(models.Model):
payments = payments.filtered(
lambda r: r.date >= invoice.date_invoice
and r.journal_id.type in ("cash", "bank")
and r.payment_id.cfdi_state in ("signed", "done")
)
return len(payments) + 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment