Fix - Mostrar variable al facturar
This commit is contained in:
parent
67584b2f67
commit
42d041c715
|
@ -1666,10 +1666,10 @@ class ImportFacturaLibreGambas(object):
|
|||
data = {}
|
||||
tables = (
|
||||
('receptores', 'Socios'),
|
||||
('cfdifacturas', 'Facturas'),
|
||||
('categorias', 'Categorias'),
|
||||
('productos', 'Productos'),
|
||||
('tickets', 'Tickets'),
|
||||
# ~ ('cfdifacturas', 'Facturas'),
|
||||
# ~ ('categorias', 'Categorias'),
|
||||
# ~ ('productos', 'Productos'),
|
||||
# ~ ('tickets', 'Tickets'),
|
||||
)
|
||||
for source, target in tables:
|
||||
data[target] = self._get_table(source)
|
||||
|
@ -2232,7 +2232,6 @@ class ImportFacturaLibre(object):
|
|||
if rfc == 'CPE920117QAA':
|
||||
nombre = 'COMERCIALIZADORA PECOLLA SA DE CV'
|
||||
elif rfc == 'SMA850101TQ4':
|
||||
# ~ 'SMA850101TQ4', 'secretaria_de_marina_-arm_baja_california_po-162'
|
||||
nombre = 'SECRETARIA DE MARINA ARMADA DE MEXICO DRAGA BAHIA CHAMELA ADR-05'
|
||||
|
||||
tipo_persona = 1
|
||||
|
|
|
@ -4972,10 +4972,10 @@ def _importar_factura_libre_gambas(conexion):
|
|||
data = app.import_data()
|
||||
|
||||
_importar_socios(data['Socios'])
|
||||
_importar_facturas(data['Facturas'])
|
||||
_importar_categorias(data['Categorias'])
|
||||
_importar_productos_gambas(data['Productos'])
|
||||
_import_tickets(data['Tickets'])
|
||||
# ~ _importar_facturas(data['Facturas'])
|
||||
# ~ _importar_categorias(data['Categorias'])
|
||||
# ~ _importar_productos_gambas(data['Productos'])
|
||||
# ~ _import_tickets(data['Tickets'])
|
||||
|
||||
log.info('Importación terminada...')
|
||||
return
|
||||
|
|
|
@ -550,7 +550,7 @@ function cmd_timbrar_click(id, e, node){
|
|||
if(!validate_invoice(values)){
|
||||
return
|
||||
}
|
||||
showvar(values)
|
||||
//~ showvar(values)
|
||||
query = table_relaciones.chain().data()
|
||||
msg = '¿Todos los datos son correctos?<BR><BR>'
|
||||
if(query.length > 0){
|
||||
|
|
Loading…
Reference in New Issue