Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
98 Zobrazení

How can I download the documents from the chatter in bulk? I also want to download my product images.

Avatar
Zrušit

You might be interested in this third-party module - https://apps.odoo.com/apps/modules/18.0/cloud_base . It significantly enhances the Odoo standard attachment box (including downloading the whole folders) and introduces the special file manager interface where you can work with attachments comfortably.

Autor Nejlepší odpověď

Bulk Download of Attachments and Product Images in Odoo

This method can be very useful whenever we need to download financial information in bulk. For example, in the Mexican localization, whenever an invoice is created and sent to the SAT, both the XML and PDF are generated and stored in the chatter.

It also works for product images that we want to download in bulk.


Considerations

  • You need access to Developer Mode.

  • The Documents app must be installed.


Steps

  1. Activate Developer Mode.
    Press Cmd + K and search for the Attachment model (called Archivo adjunto in Spanish). Here, you will find everything that has ever been uploaded to the chatter, as well as product images.


  1. Create a filter.
    Narrow down the attachments you want to download. For example, you can filter by XML files generated in the Mexican invoicing flow.


  1. Create a Server Action.
    Go to Server Actions and create a new one for the Attachment model. Configure it to create a Document and link it to the document field.

  1. Add a contextual action.
    Link your server action as a contextual action so it appears in the list view.

  2. Select attachments.
    Go back to the Attachment model. In list view, select all the attachments you want to download in bulk and click your newly created contextual action. This will create Documents in the Documents app, which you can then organize.


  1. Download in bulk.
    Finally, from the Documents app, select all the documents you need and download them in bulk.

This will make a zip file with all the information on it, it can be xml, images, contracts, etc. 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 25
623
1
čvc 24
1254
0
čvc 25
353
0
kvě 25
679
1
čvn 25
3582