Giter Site home page Giter Site logo

auditoria_sat_odoo_10's Introduction

auditoria_descarga_sat

Estos modulos estan hechos para la version 12 de Odoo (Rama Master)

Este modulo agrega una nueva funcionalidad con el boton Leer y Auditar Zip, lo que hace es utilizar el ZIP descargado por el SAT leer sus atributos relacionarlo en la pestaña correspondiente:

  • Ingresos
  • Egresos
  • Traslados
  • Nomina
  • Pago
  • Otros

Dependencias:

  • Libreria cfdiclient
  • Modulo account_cfdi_audit_zipfile

Como este paquete de modulos trabaja con llaves privadas(Key - RSA) tenemos problemas para la desencriptarla, entonces para solucionarlo se creo un Web Service Local con XMLRPCServer, el cual ejecuta los siguientes metodos:

  • _get_token
  • get_token_as_var
  • solicita_descarga
  • descargar_paquete
  • verificar_descarga
El Archivo tiene por nombre Web_Service_Descarga_SAT.py el cual debemos ejecutar con el Script start_web_service.sh, la accion manual seria ejecutarlo manualmente, pero se genero el servicio sat-service.service el cual se administra con el gestor de Servicios de Linux.

Primero Creamos el Script

sudo nano /etc/systemd/system/sat-service.service

Actualizamos los Servicios Disponibles:

systemctl daemon-reload

Iniciamos:

systemctl start sat-service

Habilitamos con el Reinicio:

systemctl enable sat-service

Las Dependencias necesarias son:

  • cfdiclient
  • xmlrpc

auditoria_sat_odoo_10's People

Watchers

German Ponce Dominguez avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.