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
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • 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
    Iní
    • 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
  • Pomoc

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

[✅ SOLVED] How to Mass Download Attachments from an Odoo Database (V.18)

Odoberať

Get notified when there's activity on this post

This question has been flagged
exportattachmentsdownloadquickstartQuickstart
3212 Zobrazenia
Avatar
Victor David Orozco Valenzuela (vdov)

Sometimes we need to download one or several of the files that Odoo has generated (invoices, XMLs, contracts, images, etc.). Here’s a practical way to do it.


Tools Needed:

  • Access to your Odoo database (with developer permissions), here’s how you can do it. 
  • A spreadsheet tool (e.g., Excel or Google Sheets)
  • A mass download manager (e.g., JDownloader)


Work Flow:

Step-by-Step Guide:

Enable Developer Mode in Odoo

Go to settings and select “Activate the developer mode”


Create a Server Action to Make Attachments Public

In the main menu type: Server Actions, select the first option.

In the server actions view create a new one and name it “Publish attachments”. The configuration has to be this:


Then just click on “Create Contextual Action”


Access the Attachment List

In your main menu, type attachments and select “Settings / Technical / Database Structure / Attachments”


Select the Documents You Want to Download

You can use filters by model, name, date, type of file, etc.

Run the Server Action to Make the Files Public

Select the filtered records and execute your public access action.

Disclaimer: When we run the Server Action we are going to make public all of the attachments, which means anyone with the link can access them, so at the end we are going to run the server action again to make them private again.


Export the Selected Attachments

Use the "Export" option and make sure to include the local_url field from the ir.attachment model.

In the exported file, add a Column with Your Database Domain, name it Database URL

Example: https://edu-victorcorp.odoo.com (repeat this for all rows).

Create a New Column to Concatenate the Domain + local_url

Excel formula: =L3&K3

Where L3 is the domain and K3 is the file path.

Copy all of the “Real URL” and paste them into Your Download Manager

In JDownloader, Select add URL → paste all the URLs → choose the destination folder → start the download.

1


2


3

4


*IMPORTANT: Make the Attachments Private Again.

  1. Go to back to the server action that you created and update the action details and set the “to” field to “No (False)”
  2. Go back to the attachments, select the published attachments, and run the server action again to set the files private.

2
Avatar
Zrušiť
faOtools

Alternatively, you can sync the required attachment to a cloud client (e.g., Google Drive or OneDrive) using the tool https://apps.odoo.com/apps/modules/18.0/cloud_base. Then, you can comfortably navigate through the folders and download any attachment combinations

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
How do I connect the Epson TM-T88VII to Odoo?
quickstart Quickstart
Avatar
Avatar
2
okt 25
951
How to Set Customer-Specific Product Names Solved
quickstart Quickstart
Avatar
1
nov 25
1453
✅ Odoo E-commerce: How to discriminate deliveries based on the type of clients
quickstart Quickstart
Avatar
0
aug 25
1454
How can Import an existing Spreadsheets with formulas with out doing it manually? Solved
quickstart Quickstart
Avatar
2
aug 25
1893
Does Odoo manage WebP ? Solved
quickstart Quickstart
Avatar
Avatar
Avatar
3
júl 25
4567
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