From eeae15777230cdba00d8ba500856bce895584226 Mon Sep 17 00:00:00 2001 From: El Mau Date: Thu, 25 May 2023 21:59:13 -0600 Subject: [PATCH] Fix in complement pays --- VERSION | 2 +- source/app/models/main.py | 4 ++-- source/app/settings.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index 2165f8f..e010258 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.4 +2.0.5 diff --git a/source/app/models/main.py b/source/app/models/main.py index 39f2da6..ff0fc0e 100644 --- a/source/app/models/main.py +++ b/source/app/models/main.py @@ -7664,8 +7664,8 @@ class CfdiPagos(BaseModel): "TasaOCuotaDR": str(tax.impuesto.tasa), "ImporteDR": xml_importe, } - - tax_key = tax.impuesto.key + # ~ tax_key = tax.impuesto.key + tax_key = f"{values['ImpuestoDR']}|{values['TasaOCuotaDR']}" if tax.impuesto.tipo == 'T': traslados.append(values) if tax_key in taxes_pay['traslados']: diff --git a/source/app/settings.py b/source/app/settings.py index 706b971..6c238f5 100644 --- a/source/app/settings.py +++ b/source/app/settings.py @@ -28,7 +28,7 @@ from conf import DEBUG, MV, LOG_PATH try: from conf import DEFAULT_PASSWORD except ImportError: - DEFAULT_PASSWORD = 'salgueiro3.3' + DEFAULT_PASSWORD = 'salgueiro4.0' try: from conf import TITLE_APP @@ -42,7 +42,7 @@ except ImportError: DEBUG = DEBUG -VERSION = '2.0.4' +VERSION = '2.0.5' EMAIL_SUPPORT = ('soporte@empresalibre.mx',) TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION)