Ticket #223, Fix Ticket #224

This commit is contained in:
Mauricio Baeza 2018-06-18 14:10:52 -05:00
parent 8c874dd8dd
commit dc1f48cc0b
5 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,9 @@
v 1.9.0 [18-jun-2018]
---------------------
- Se agrega la vista del detalle de facturas
- Fix: Al timbrar nómina
v 1.8.1 [14-jun-2018]
---------------------
- Fix: Se agrega una barra de desplazamiento al buscar productos o clientes

View File

@ -1 +1 @@
1.8.1
1.9.0

View File

@ -124,7 +124,7 @@ class CFDI(object):
if datos['donativo']:
self._donativo = True
self._edu = datos['edu']
self._edu = datos.get('edu', False)
if datos['complementos']:
if 'ine' in datos['complementos']:

View File

@ -48,7 +48,7 @@ try:
from com.sun.star.awt import Size
from com.sun.star.view.PaperFormat import LETTER
APP_LIBO = True
except:
except ImportError:
APP_LIBO = False
import pyqrcode
@ -1469,12 +1469,13 @@ def import_employees(rfc):
if not is_file(path):
return ()
msg = 'LibreOffice no se pudo iniciar'
if APP_LIBO:
app = LIBO()
if app.is_running:
return app.employees(path)
return ()
return (), msg
def import_nomina(rfc):

View File

@ -31,7 +31,7 @@ except ImportError:
DEBUG = DEBUG
VERSION = '1.8.1'
VERSION = '1.9.0'
EMAIL_SUPPORT = ('soporte@empresalibre.net',)
TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION)