Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

[16.4,17+] ¿How to save XML and PDF from invoices for mass downloading 2.0?

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
documentsmxquickstartQuickstartLocalization
2 Respuestas
3935 Vistas
Avatar
Miguel Angel Lopez (mial)

This is super important for many localizations.



Say you want to download XML from customer invoices for whatever reason but odoo doesn’t have a direct menu or simple interface, does it?

Well in fact you can do it!

Just keep in mind that it is not retroactive.


Original post (Spanish): https://www.odoo.com/es_ES/forum/ayuda-1/exportacion-de-varios-xml-de-facturas-de-cliente-216757

Remade for new localization improvements.

0
Avatar
Descartar
Avatar
Miguel Angel Lopez (mial)
Autor Mejor respuesta

First we will need to install the documents app and go to the settings, from there we will enable the following option:


Make sure to put it in a workspace that you recognize, the default one is called finances.


Yo will need to click in journals to select which documents will go where:

(The correct workspace in this example for customer invoices is Invoices and not the one in the pic)

After that go to documents settings> workspaces and create one workspace, in this case I called it PDFs:

I added invoices workspace as a parent but it is not necessary, however it is highly recommended.


After that we will need to activate debug mode (if you don’t know how to do this you can visit this link: https://www.odoo.com/documentation/17.0/applications/general/developer_mode.html)

And head to the workspace for invoices and we will click on the actions button:


And then we will create a new action:

We will name this action however we see fit, make sure it is related to the main workspace and change the condition to domain and add the mimetype equal to xml:

Remember that to see this you must have debug mode. You can also just copy this domain:

[("mimetype", "ilike", "xml")]


On the second tab “actions” just make sure that you set it to move to the xml workspace on “move to workspace”:


You can repeat this for PDF as well.

After that you just have to create invoices either download, send them by email or CFDI them.


By default both files will go to one workspace, the first one that it applies to.


After the documents are created you can go to the workspace and group by filetype and run the action we created previously.

These actions will only show up if the selected files are the correct filetype so it is foolproof.


After that you will have successfully stored and divided the invoicing files 🙂


You can always just have one folder to store both and just group by and it should be fine 🙂


And to massively download just select all the files and click on download:

And it will download a zip file containing all


Thanks 😀

2
Avatar
Descartar
Don Chau

hi Miguel, I am using odoo v18 and able to configure the invoice and document app properly. However, what if those files are not linking to journals? I have follow up report (customer statements) but they are saved to customer. Not sure how to download them in bulk. Thank you.

Miguel Angel Lopez (mial)
Autor

Hi Don Chau, there is a newer version of this here:
https://www.odoo.com/es/forum/ayuda-1/how-to-dowload-in-bulk-the-attachments-on-my-chatter-and-my-product-images-284394
Hope it helps

Avatar
Wouter Vanaken
Mejor respuesta

Hi,


I replicated this scenario but only the PDF's are moved into the invoices Workspace. the XML's are generated while sending out the invoice so I see them as an xml attachment but they are not visible in the documents application. Odoo V17


0
Avatar
Descartar
Miguel Angel Lopez (mial)
Autor

Hello, I've seen some localizations don't do this because they are coded differently, hopefully a full download option comes out soon :)

Wouter Vanaken

Hi,

Thanks for the quick response. We suspected something similar. We'll develop a small module that grabs all the attachments on the account.move records and download them as a zip.

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
[V16] ¿Cómo agrego el régimen fiscal, la tasa de cambio y el CFDI de origen a la factura?
mx quickstart Quickstart
Avatar
1
abr 23
4046
[l10n_mx][v17] Flujo de pedimentos Resuelto
mx pedimento quickstart Quickstart
Avatar
Avatar
2
sept 24
3947
¿Cómo realizar el timbrado de documentos fiscales en ambiente multimarca? V.16.4 + Resuelto
mx facturación quickstart Quickstart
Avatar
1
nov 23
2876
Provisión de nómina
payroll mx quickstart Quickstart
Avatar
1
abr 23
5260
[v18.3+] How can I send a WhatsApp message to my customer after 24 hours? Resuelto
mx quickstart WhatsApp Quickstart conversation
Avatar
1
sept 25
893
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now