forked from elmau/empresa-libre
parent
8c874dd8dd
commit
dc1f48cc0b
|
@ -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
|
||||
|
|
|
@ -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']:
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue