Fix - Factura con retenciones
This commit is contained in:
parent
bf84b9a49b
commit
eb89b8e8fa
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from decimal import Decimal
|
||||
import sqlite3
|
||||
import click
|
||||
from peewee import *
|
||||
|
@ -2046,8 +2047,8 @@ class Facturas(BaseModel):
|
|||
|
||||
invoice_tax = {
|
||||
'factura': invoice.id,
|
||||
'impuesto': tax['id'],
|
||||
'base': tax['importe'],
|
||||
'impuesto': tax.id,
|
||||
'base': tax.importe,
|
||||
'importe': import_tax,
|
||||
}
|
||||
FacturasImpuestos.create(**invoice_tax)
|
||||
|
|
Loading…
Reference in New Issue