Upload Product Images using Image URL

by
Odoo

12.76

v 17.0 Third Party 25
Live Preview
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Sales (sale_management)
Discuss (mail)
Invoicing (account)
Lines of code 95
Technical Name odoo_import_image_url
LicenseSee License tab
Websitehttp://www.probuse.com
Versions 17.0 11.0 13.0 10.0 15.0 16.0 14.0 12.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Sales (sale_management)
Discuss (mail)
Invoicing (account)
Lines of code 95
Technical Name odoo_import_image_url
LicenseSee License tab
Websitehttp://www.probuse.com
Versions 17.0 11.0 13.0 10.0 15.0 16.0 14.0 12.0

Import / Upload Product Images using Image URL

Product Image / Photo Upload using Image URL Path in Odoo

This module allows you to upload product images using image url set on product and product variant form.


Main Features:

  • Allow you to set image url and upload image automatically on the Save button of Odoo on create and edit time.
  • This module will work for uploading product and product variants images using image URL.
  • Supporting Create and Write option of Product. So if you update the Image URL on Product then it will automatically update image on create and edit buttons of Odoo.
  • For more details please watch the video and check below screenshots. Google drive image link might not work but other URL apart from google drive will work.

Edition Compatibility:


Enterprise Odoo.sh Community

"Image Url" field on Product Form

Image using Image URL on Save

"Image Url" field on Product Variant Form

Image using Image URL on Save

Contact / Support
Introducing Probuse Consulting Services Pvt. Ltd.

If you need any help or want more additional features, you may contact us through:
Email: contact@probuse.com
Website: www.probuse.com
Skype: mustufa_probuse

Probuse Consulting Service Pvt Ltd is an Software and Web development specialist which offers complete business application together. We are well experienced to provide a face for your business on the software and Internet level.

Probuse Consulting Service Pvt Ltd is a specialist in Odoo/OpenERP services and could give your business open source hand to drive.

Our Services

  • Odoo Implementation

  • Odoo Support

  • Odoo Customization

  • Odoo Migration

  • Odoo Training

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

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 or have a question related to your purchase, please use the support page.
There are no ratings yet!
Reply
by
Mustufa
on 1/21/24, 11:47 PM Author

Hello,

Module has not error and we have tested it. You can check connection time out it is because the URL given is not responding to Odoo server. Or you can contact us using odoo support channel.

Thanks and Regards,

Probuse Team


This module is not working
by
Maddy
on 1/21/24, 11:07 AM Confirmed Purchase

RPC_ERROR

Odoo Server Error

Traceback (most recent call last):
  File "/usr/lib/python3.10/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.10/http/client.py", line 1283, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output
    self.send(msg)
  File "/usr/lib/python3.10/http/client.py", line 976, in send
    self.connect()
  File "/usr/lib/python3.10/http/client.py", line 942, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.10/socket.py", line 845, in create_connection
    raise err
  File "/usr/lib/python3.10/socket.py", line 833, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/http.py", line 1722, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/odoo/odoo-server/odoo/service/model.py", line 133, in retrying
    result = func()
  File "/odoo/odoo-server/odoo/http.py", line 1749, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/odoo/odoo-server/odoo/http.py", line 1953, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
  File "/odoo/odoo-server/addons/website/models/ir_http.py", line 235, in _dispatch
    response = super()._dispatch(endpoint)
  File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 222, in _dispatch
    result = endpoint(**request.params)
  File "/odoo/odoo-server/odoo/http.py", line 722, in route_wrapper
    result = endpoint(self, *args, **params_ok)
  File "/odoo/odoo-server/addons/web/controllers/dataset.py", line 24, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/odoo/odoo-server/addons/web/controllers/dataset.py", line 20, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/odoo/odoo-server/odoo/api.py", line 468, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "/odoo/odoo-server/odoo/api.py", line 453, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/odoo/odoo-server/addons/web/models/models.py", line 71, in web_save
    self.write(vals)
  File "/odoo/custom/addons/odoo_import_image_url/model/product_template.py", line 51, in write
    urllib.request.urlopen(
  File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 1377, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: 

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
    RPCError@http://order.solutions:8069/web/assets/1/0df27d6/web.assets_web.min.js:2871:324
    makeErrorFromResponse@http://order.solutions:8069/web/assets/1/0df27d6/web.assets_web.min.js:2874:175
    @http://order.solutions:8069/web/assets/1/0df27d6/web.assets_web.min.js:2878:34


Re: This module is not working
by
Mustufa
on 1/26/24, 6:16 AM Author

Hello,

Module has not error and we have tested it. You can check connection time out it is because the URL given is not responding to Odoo server. Or you can contact us using odoo support channel.

Thanks and Regards,

Probuse Team


by
Maddy
on 11/26/23, 3:21 AM Confirmed Purchase

Can these product url images be imported using a csv file?

Re:
by
Mustufa
on 11/27/23, 12:09 AM Author

Hello,

Can you please send your question before buy to contact@probuse.com ? 

Thank you,

Probuse Team