diff --git a/.gitignore b/.gitignore index f850e79..e6db0be 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,6 @@ source/media # Sphinx documentation docs/ -*.ods *.xlsx credenciales.conf diff --git a/source/app/controllers/util.py b/source/app/controllers/util.py index baff914..6728ba3 100644 --- a/source/app/controllers/util.py +++ b/source/app/controllers/util.py @@ -1566,6 +1566,7 @@ class ImportFacturaLibre(object): '-10': 0.10, '0': 0.0, '-2/3': 0.666667, + '-0.5': 0.005, } data = [] diff --git a/source/app/models/main.py b/source/app/models/main.py index d22167f..ce1296c 100644 --- a/source/app/models/main.py +++ b/source/app/models/main.py @@ -3755,6 +3755,7 @@ def _importar_facturas(rows): except IntegrityError as e: msg = '\tFactura: id: {}'.format(row['serie'] + str(row['folio'])) log.error(msg) + log.info('\tFacturas importadas...') return diff --git a/source/templates/plantilla_factura.ods b/source/templates/plantilla_factura.ods new file mode 100644 index 0000000..df899a1 Binary files /dev/null and b/source/templates/plantilla_factura.ods differ