Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Help

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

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

Odoberať

Get notified when there's activity on this post

This question has been flagged
documentsmxquickstartQuickstartLocalization
2 Replies
3887 Zobrazenia
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
Zrušiť
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
Zrušiť
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
Zrušiť
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!

Registrácia
Related Posts Replies Zobrazenia Aktivita
[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
apr 23
3995
[l10n_mx][v17] Flujo de pedimentos Solved
mx pedimento quickstart Quickstart
Avatar
Avatar
2
sep 24
3873
¿Cómo realizar el timbrado de documentos fiscales en ambiente multimarca? V.16.4 + Solved
mx facturación quickstart Quickstart
Avatar
1
nov 23
2804
Provisión de nómina
payroll mx quickstart Quickstart
Avatar
1
apr 23
5183
[v18.3+] How can I send a WhatsApp message to my customer after 24 hours? Solved
mx quickstart WhatsApp Quickstart conversation
Avatar
1
sep 25
859
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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