Skip to content

Commit 646bfb4

Browse files
committed
calcular traslados sobre totales
1 parent 7b87d34 commit 646bfb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

satcfdi/create/cfd/cfdi40.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def __init__(
458458
})
459459
self.compute(traslados_sobre_totales=_traslados_sobre_totales)
460460

461-
def compute(self, traslados_sobre_totales):
461+
def compute(self, traslados_sobre_totales=False):
462462
self["Conceptos"] = conceptos = _make_conceptos(self["Conceptos"], rnd_fn=rounder(self["Moneda"]))
463463
self["SubTotal"] = sub_total = sum(c['Importe'] for c in conceptos)
464464
descuento = sum(c.get('Descuento') or 0 for c in conceptos)

0 commit comments

Comments
 (0)