Fix ticket #4
This commit is contained in:
commit
1a9087b13a
|
@ -1,3 +1,7 @@
|
|||
v 1.41.4 [13-Abr-2021]
|
||||
----------------------
|
||||
- Error - Ticket #4
|
||||
|
||||
|
||||
v 1.41.3 [12-Feb-2021]
|
||||
----------------------
|
||||
|
|
|
@ -270,7 +270,8 @@ class CFDI(object):
|
|||
from xml.sax.saxutils import escape, unescape
|
||||
|
||||
conceptos = ET.SubElement(self._cfdi, '{}:Conceptos'.format(self._pre))
|
||||
for row in reversed(datos):
|
||||
# ~ for row in reversed(datos):
|
||||
for row in datos:
|
||||
complemento = {}
|
||||
if 'complemento' in row:
|
||||
complemento = row.pop('complemento')
|
||||
|
|
|
@ -738,7 +738,7 @@ class LIBO(object):
|
|||
if not cell_7 is None:
|
||||
col = cell_7.getCellAddress().Column
|
||||
target7 = self._sheet.getCellRangeByPosition(col, row+1, col, row+count)
|
||||
if pakings:
|
||||
if pakings and cell_8:
|
||||
col = cell_8.getCellAddress().Column
|
||||
target8 = self._sheet.getCellRangeByPosition(col, row+1, col, row+count)
|
||||
|
||||
|
|
|
@ -5148,8 +5148,6 @@ class Facturas(BaseModel):
|
|||
'edu': is_edu,
|
||||
'complementos': complementos,
|
||||
}
|
||||
|
||||
# ~ return util.make_xml(data, certificado)
|
||||
return utils.make_xml(data, certificado)
|
||||
|
||||
@classmethod
|
||||
|
|
|
@ -42,7 +42,7 @@ except ImportError:
|
|||
|
||||
|
||||
DEBUG = DEBUG
|
||||
VERSION = '1.41.3'
|
||||
VERSION = '1.41.4'
|
||||
EMAIL_SUPPORT = ('soporte@empresalibre.mx',)
|
||||
TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION)
|
||||
|
||||
|
|
|
@ -2652,6 +2652,8 @@ function cmd_subir_certificado_click(){
|
|||
}
|
||||
|
||||
var serie = $$('form_cert').getValues()['cert_serie']
|
||||
values['cer'] = file_cer
|
||||
values['key'] = file_key
|
||||
|
||||
if(serie){
|
||||
msg = 'Ya existe un certificado guardado<BR><BR>¿Deseas reemplazarlo?'
|
||||
|
@ -2662,19 +2664,17 @@ function cmd_subir_certificado_click(){
|
|||
type: 'confirm-error',
|
||||
text: msg,
|
||||
callback:function(result){
|
||||
if(!result){
|
||||
return
|
||||
if(result){
|
||||
validate_cert(values)
|
||||
}
|
||||
}
|
||||
})
|
||||
}else{
|
||||
validate_cert(values)
|
||||
}
|
||||
|
||||
$$('form_upload').setValues({})
|
||||
$$('up_cert').files.data.clearAll()
|
||||
|
||||
values['cer'] = file_cer
|
||||
values['key'] = file_key
|
||||
validate_cert(values)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue