Fix: nomina stamp asimilados

This commit is contained in:
Mauricio Baeza 2020-03-30 19:04:50 -06:00
commit 980a7aafdb
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
v 1.38.1 [30-mar-2020]
----------------------
- Error: En nómina al timbrar asimilados
v 1.38.0 [08-mar-2020]
----------------------
- Mejora: Factura global por ticket o nota

View File

@ -1 +1 @@
1.38.0
1.38.1

View File

@ -8584,10 +8584,11 @@ class CfdiNomina(BaseModel):
'TipoJornada': empleado.tipo_jornada.key,
'TipoRegimen': empleado.tipo_regimen.key,
'NumEmpleado': str(empleado.num_empleado),
'RiesgoPuesto': empleado.riesgo_puesto.key,
'PeriodicidadPago': empleado.periodicidad_pago.key,
'ClaveEntFed': empleado.estado.key,
}
if empleado.riesgo_puesto.key != '99':
nomina_receptor['RiesgoPuesto'] = empleado.riesgo_puesto.key
if empleado.imss:
nomina_receptor['NumSeguridadSocial'] = empleado.imss.replace('-', '')

View File

@ -47,7 +47,7 @@ except ImportError:
DEBUG = DEBUG
VERSION = '1.38.0'
VERSION = '1.38.1'
EMAIL_SUPPORT = ('soporte@empresalibre.mx',)
TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION)