Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

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

Subscriure's

Get notified when there's activity on this post

This question has been flagged
documentsmxquickstartQuickstartLocalization
2 Respostes
3936 Vistes
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 Best Answer

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
Best Answer

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.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
[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
d’abr. 23
4047
[l10n_mx][v17] Flujo de pedimentos Solved
mx pedimento quickstart Quickstart
Avatar
Avatar
2
de set. 24
3950
¿Cómo realizar el timbrado de documentos fiscales en ambiente multimarca? V.16.4 + Solved
mx facturación quickstart Quickstart
Avatar
1
de nov. 23
2877
Provisión de nómina
payroll mx quickstart Quickstart
Avatar
1
d’abr. 23
5264
[v18.3+] How can I send a WhatsApp message to my customer after 24 hours? Solved
mx quickstart WhatsApp Quickstart conversation
Avatar
1
de set. 25
898
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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