v 9.0 v 10.0 v 11.0 v 12.0 Third Party 29 684
Download for v 9.0
Technical Name ir_attachment_url
LicenseAGPL-3
Websitehttps://twitter.com/OdooFree
Also available in version v 14.0 v 12.0 v 11.0 v 13.0 v 10.0
You bought this module and need support? Click here!
Technical Name ir_attachment_url
LicenseAGPL-3
Websitehttps://twitter.com/OdooFree
Also available in version v 14.0 v 12.0 v 11.0 v 13.0 v 10.0

Attachment Url

Use attachment URL and upload data to external storage

Version: v1.1.2


Tested and maintained by
IT Projects Labs
Assitance: help@itpp.dev

The module allows to use url in Binary fields (e.g. in product images). It provides the possibility for uploading files to external storage (ftp, s3, some web server, etc) and uses url instead of transfer binary data between odoo server and client that, in turn, allows to reduce the load on server.
E.g., for uploading files to S3 you can use our module ir_attachment_s3: https://apps.odoo.com/apps/modules/10.0/ir_attachment_s3/

How it works

As an example go to Sales → Products menu and open or create new item. Upload any image to the product.

Then

  • Go to Settings → Database Structure → Attachments menu.
  • Add custom filter: Resource Field is set
  • Switch to list view and open the created attachment items: image_small, image_medium, image

In the form that appears change 'Type' to URL and set url in the 'Url' field. As a result you can see related image in your product.

Attachment Url

Installation

  • Install this module in a usual way

Odoo parameters

  • Add ir_attachment_url to --load parameters, e.g.:

    ./openerp-server --load web,ir_attachment_url --config=/path/to/openerp-server.conf
    

Usage

  • Go to Sales >> Products menu
  • Open a product
  • Upload image to this product or specify image URL
  • Save the changes
  • Go to Settings >> Database Structure >> Attachments menu
  • See related attachment form that contains URL of the image

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.