Fix - Issue 120

This commit is contained in:
Mauricio Baeza 2018-01-12 10:26:28 -06:00
parent 03fecfb1e2
commit 98c58a9003
1 changed files with 3 additions and 1 deletions

View File

@ -1728,7 +1728,7 @@ class ImportFacturaLibreGambas(object):
('receptores', 'Socios'), ('receptores', 'Socios'),
('cfdifacturas', 'Facturas'), ('cfdifacturas', 'Facturas'),
('categorias', 'Categorias'), ('categorias', 'Categorias'),
# ~ ('productos', 'Productos'), ('productos', 'Productos'),
('tickets', 'Tickets'), ('tickets', 'Tickets'),
) )
for source, target in tables: for source, target in tables:
@ -2416,10 +2416,12 @@ class ImportFacturaLibre(object):
'-10.66660': 0.106667, '-10.66660': 0.106667,
'-4': 0.04, '-4': 0.04,
'1': 0.01, '1': 0.01,
'25': 0.25,
} }
data = [] data = []
for row in rows: for row in rows:
# ~ print (id, dict(row))
filtro = { filtro = {
'name': row['nombre'], 'name': row['nombre'],
'tasa': tasas[row['tasa']], 'tasa': tasas[row['tasa']],