.
This commit is contained in:
parent
9bd6cc785e
commit
ff71328bd3
@ -5,7 +5,12 @@ from pathlib import Path
|
||||
from dateutil import tz
|
||||
|
||||
from app.config import create_logger, get_package_version, load_config, log_config
|
||||
from app.db import get_factuges_connection, get_mysql_connection, sync_invoices_factuges
|
||||
from app.db import (
|
||||
get_factuges_connection,
|
||||
get_mysql_connection,
|
||||
sync_invoices_deleted_factuges,
|
||||
sync_invoices_factuges,
|
||||
)
|
||||
from app.utils import actualizar_fecha_ultima_ejecucion, obtener_fecha_ultima_ejecucion
|
||||
|
||||
|
||||
@ -57,6 +62,7 @@ def main():
|
||||
# Sincronizamos
|
||||
logger.info(
|
||||
">>>>>>>>>>> INI Sync invoices FactuGES escritorio to FactuGES web")
|
||||
sync_invoices_deleted_factuges(conn_factuges, conn_mysql, last_execution_date_local_tz)
|
||||
sync_invoices_factuges(conn_factuges, conn_mysql, last_execution_date_local_tz)
|
||||
|
||||
# Confirmar los cambios
|
||||
|
||||
Loading…
Reference in New Issue
Block a user