This commit is contained in:
Mauricio 2023-06-05 16:25:37 -06:00
commit 402cb7d70c
5 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,9 @@
v 2.0.5 [05-Jun-2023]
---------------------
- Fix: Al generar complementos de pago con facturas con varios impuestos.
- Fix: ticket #103, hay que usar {receptor.correo_facturas} y {receptor.telefonos}
v 2.0.2 [01-Abr-2023]
---------------------
- Fix: Obtener la clave del sat al facturar por lote.

View File

@ -1 +1 @@
2.0.4
2.0.5

View File

@ -4821,6 +4821,8 @@ class Facturas(BaseModel):
Socios.municipio,
Socios.estado,
Socios.pais,
Socios.correo_facturas,
Socios.telefonos,
)
where = (Socios.id==invoice.cliente.id)
partner = Socios.select(*fields).where(where).dicts()[0]
@ -7664,8 +7666,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']:

View File

@ -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)