diff --git a/CHANGELOG.md b/CHANGELOG.md index 39ca823..945c2be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +v 2.0.1 [29-Mar-2023] +--------------------- + - Fix ticket #97 + +Es necesario hacer una migraciĆ³n: +``` +cd /opt/empresa-libre + +git pull origin master + +cd source/app/models + +python main.py -bk + +python main.py -m -r RFC +``` + + v 2.0.0 [08-Ene-2023] ---------------------- - Liberamos para todos la versiĆ³n CFDI 4.0 diff --git a/VERSION b/VERSION index 227cea2..38f77a6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.0 +2.0.1 diff --git a/source/app/models/main.py b/source/app/models/main.py index 381e37f..f6a5d15 100644 --- a/source/app/models/main.py +++ b/source/app/models/main.py @@ -11280,6 +11280,10 @@ def _migrate_tables(rfc=''): else: log.info('Valores actualizados...') + q = Configuracion.delete().where(Configuracion.clave=='chk_config_tax_decimals') + q.execute() + log.info('Config Tax Update...') + return diff --git a/source/app/settings.py b/source/app/settings.py index 7058581..de51fb8 100644 --- a/source/app/settings.py +++ b/source/app/settings.py @@ -42,7 +42,7 @@ except ImportError: DEBUG = DEBUG -VERSION = '2.0.0' +VERSION = '2.0.1' EMAIL_SUPPORT = ('soporte@empresalibre.mx',) TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION) diff --git a/source/static/js/ui/admin.js b/source/static/js/ui/admin.js index 1fe515f..e4e1cc8 100644 --- a/source/static/js/ui/admin.js +++ b/source/static/js/ui/admin.js @@ -668,7 +668,7 @@ var options_admin_otros = [ {view: 'checkbox', id: 'chk_config_tax_locales', labelWidth: 0, labelRight: 'Impuestos locales, calcular antes del descuento'}, {view: 'checkbox', id: 'chk_config_tax_decimals', labelWidth: 0, - labelRight: 'Calcular impuestos con 4 decimales'}, + labelRight: 'Calcular impuestos con 4 decimales', hidden: true}, {view: 'checkbox', id: 'chk_config_price_with_taxes_in_invoice', labelWidth: 0, labelRight: 'Precio incluye impuestos'}, {view: 'checkbox', id: 'chk_config_add_same_product', labelWidth: 0,