Pack records (attachments)

by
Odoo
v 13.0 Third Party 196
Download for v 13.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 257
Technical Name comceptplus_pack_records
LicenseAGPL-3
Websitehttps://comceptplus.com
Versions 13.0 11.0 12.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 257
Technical Name comceptplus_pack_records
LicenseAGPL-3
Websitehttps://comceptplus.com
Versions 13.0 11.0 12.0

Pack records

Export record attachments into a compressed file

This is an easy way for you to export document attachments for one specific data model.


WARNING:

Make sure you have the right permissions to create files on disk.

This is a generic module that sets the feature but you'll need to call it by creating an action. Here's an example, applied to sale orders:

                <act_window id="sale_order_download_pack_action"
                            name="Pack sale orders (ZIP)"
                            res_model="ir.model.download_pack"
                            binding_model="sale.order"
                            view_mode="form"
                            target="new"
                            context="{'pack_folder_structure':'date_order|%Y,date_order|%m,date_order|%d,partner_id.name,name'}"/>
            


In context, you tell the program the folder structure you want to use. In this example, you're going to get something like this:
  • 2018
    • 10
      • 05
        • KlausSchneider
          • XPTO/0002
          • XPTO/0123
        • JoãoSilva
          • XPTO/0777
          • XPTO/0755

For support / information, please write to odoo@comceptplus.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.