WebP Image Optimizer

by
Odoo 5

54.26

v 14.0 Third Party 172
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Website (website)
Discuss (mail)
Lines of code 434
Technical Name images_to_webp
LicenseOPL-1
Websitehttp://erpswiss.com
Versions 15.0 12.0 13.0 14.0 16.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Website (website)
Discuss (mail)
Lines of code 434
Technical Name images_to_webp
LicenseOPL-1
Websitehttp://erpswiss.com
Versions 15.0 12.0 13.0 14.0 16.0

WEBP Image Optimizer

WebP Image Optimizer is a powerful module designed to enhance the performance and loading speed of your Odoo website by optimizing the images on your website in the WebP format without compromising the quality, as well as further adjusting the image performance.

WebP, developed by Google, is a modern image format that offers superior compression compared to other image formats, all while preserving the quality of your visuals.

With WebP Image Optimizer, you can adjust various image formats on your website with a single click, significantly reducing the file size of your images and speeding up the website loading time.

speed-up

SPEED UP

Speed up your website with WebP Image Optimizer and get lighter images without losing quality.
Cup

Empowerment

You can now use this power directly in Odoo.
contact_us

Free

No In App Purchases.
Square

Automated

After enabling it, all your existing images will be automatically optimized also when uploaded into Odoo.
Face
Since 2013 we have been offering our services to small and mid-size businesses all around the world.
We can help you transform.
col-md-photo
checklist

Read User Guide

COPY
bit.ly/46pWc0G
checklist

Create a Support Ticket

COPY
bit.ly/3RJt7Jj

WebP is an image format developed by Google in 2010 that aims to provide high-quality image compression and smaller file sizes compared to more well-known image formats like JPEG and PNG.

Some of the main benefits of the WebP format are the support of lossy and lossless compression modes, smaller file sizes, support of transparent image backgrounds, browser support, and quality and compression efficiency.

Yes, with the WebP module, you can choose how much you want your pictures to be compressed, to achieve the resolution you are looking for.

One of the key advantages of the WebP format is that it compresses the images significantly without affecting the quality of the images or affecting them minimally.

Changelog

Version 16.2.2 (31 May 2023)
New Feature
  • Speed up the shop page by adding the show more option to the filter

Version 16.2.1 (09 May 2023)
UI/UX Improvement
  • Minor bug fixing
  • Mega menu UI/UX improvement

Version 16.2.0 (07 Apr 2023)
New Feature
  • Image hotspot

Version 16.1.2 (03 Feb 2023)
New Feature
  • Multiple design options for Product Countdown Timer

Version 16.1.1 (20 Jan 2023)
New Feature
  • Updated design of Mini cart
  • 5 new blog styles
  • Product add to cart notification with: tiny notification, cart sidebar and confirmation pop-up
  • New Dynamic Product Slider(Product Template)
UI/UX Improvement
  • Minor bug fixing
  • Mega menu UI/UX improvement

Version 16.1.0 (02 Jan 2023)
New Feature
  • Dynamic Brand & Category Slider
  • 40+ Snippets
  • 2 New product ribbon styles
  • Hide out-of-stock products
  • Allow only selected countries for order checkout
  • Offer timer on the product page
  • Display Product Price including/excluding Tax to a specific customer(Option in pricelist)
  • Attractive Cart Sidebar
UI/UX Improvement
  • Fix minor design issues

Version 16.0.0 (10 Dec 2022)
  • Initial release
www.erpswiss.com
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.
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.
Update on Installation
by
W Brugger
on 4/1/21, 1:38 PM

I was having trouble installing this.  It turns out that the python dependencies need to be installed as your odoo user, not the root user.
Now I have the module working.  While I think its a good first step, I think it could be improved by adding (if possible) the ability to choose whether an image is webp or not in the website editor.  Also, have the quality setting there.  The one size setting for all images on your website isn't ideal.  

Also, it seems that hosted images like unsplash will not be rendered.  This makes sense, but just an FYI.


by
Doğan Üstündağ
on 11/11/20, 1:37 PM Reviewed

Well

After updating  14.0.1.2 v, the images looks back to the more normal size!!!

Re:
by
ERP SWISS
on 11/11/20, 4:52 PM Author

cool let us known if any. Thanks for purchasing our app. Cheers


Concern
by
Titus Ambuka
on 6/19/23, 2:37 PM

Will this break image links for the existing images? Doest it update HTML/CSS code to reflect image path changes? 


by
苏进
on 5/24/22, 7:22 AM Confirmed Purchase

Unable to display dynamic GIF after conversion


by
Vinay Khosla
on 1/15/22, 10:37 PM Confirmed Purchase

It’s because we have got hundreds of webp images and I thought we could upload that as well. Could this module be customized for uploading webp directly from the backend and also render then in the Odoo backend?

Re:
by
ERP SWISS
on 1/16/22, 9:44 AM Author

odoo is not ready for such uploads our module is not the problem

Re:
by
ERP SWISS
on 1/16/22, 9:44 AM Author

odoo is not ready for such uploads our module is not the problem


by
Vinay Khosla
on 1/15/22, 3:41 AM Confirmed Purchase

Hello, I've bought the module - Order # SO2022/1798559.

After installation, when I'm trying to upload images (in .webp format) into products from Sales -> Products, it's throwing an error This file could not be decoded as an image file. Please try with a different file.
Can you help us out, please?

Re:
by
ERP SWISS
on 1/15/22, 8:34 PM Author

Please try to clarify your action. why you are tying to uploas web p format? you just need to upload regular formats to be converted after with the help of our module

Re:
by
ERP SWISS
on 1/15/22, 8:34 PM Author

Please try to clarify your action. why you are tying to uploas web p format? you just need to upload regular formats to be converted after with the help of our module


Odoo Server Error
by
Miguel Ramirez
on 12/2/21, 6:54 PM Confirmed Purchase

Hi, hope you are fine.

We purchased your plug in, however, when we try to edit a page with your plug in activated the following error appears, is this normal? Shall we deactivate first your plug in every time we want to edit a page? How can we avoid this error message? Could you please assist us with this issue? We already sent you a message with the error.

Kind regards.

Re: Odoo Server Error
by
ERP SWISS
on 12/3/21, 8:15 AM Author

Hello Miguel,

Indeed some editor futures may bug or not be available due to activated webp module as images are not anymore standard format. best way is to disable when editing.


Regards


Odoo server error
by
Miguel Ramirez
on 12/2/21, 6:46 PM Confirmed Purchase

Hi, hope you are fine.

We purchased your plug in, however, when we try to edit a page with your plug in activated an error appears, is this normal? Shall we deactivate first your plug in every time we want to edit a page? How can we avoid this error message? We already sent a message with the error, could you please assist us with it?

Thank you for your help, kind regards.



Upload Webp format in to Odoo 14
by
Chu
on 11/17/21, 12:19 PM

Hello 

I have a lot of photos in Webp format for products and I want to upload them in to Odoo 14. It doesn't work at the moment because Odoo doesn't support them.

When i install your app can i upload directly Webp format in to Odoo?

Upload JPEG or PNG are normal, I don't want convert the photos to Webp format yet.

Thanks


Make your app Odoo compatible with Webp format ?
by
Chu
on 11/16/21, 12:53 PM

I mean edit with a new product and import the photo with Webp format.

Thanks


Re: Make your app Odoo compatible with Webp format ?
by
ERP SWISS
on 11/16/21, 1:16 PM Author

The module converts images in to format webp upon browser compatibility for example Chrome. You upload jpeg or png and the module renders webp in chrome ! 

Re: Make your app Odoo compatible with Webp format ?
by
ERP SWISS
on 11/16/21, 1:16 PM Author

The module converts images in to format webp upon browser compatibility for example Chrome. You upload jpeg or png and the module renders webp in chrome ! 


by
Chu
on 11/16/21, 12:28 PM

Hello
Does your app make Odoo compatible with Webp format?

I mean when I add a new product and take it in webp photo format.

Odoo v14

Thanks for the feedback


by
Marco Siebert
on 10/28/21, 3:25 AM Confirmed Purchase

Hi,

any plans to release a V15 Version?

thanks

marco

Re:
by
ERP SWISS
on 10/30/21, 10:24 AM Author

Hello please check our new update for v15 

Enjoy the module


by
Велизар Проданов
on 10/16/21, 1:44 AM

Hi, thanks for your kind support. I run "python -m pip install webp" and get same "ERROR: No matching distribution found for webp". Let's use google meet call option - VelizarProdanov@kolkotok.bg. Thanks :)


by
Велизар Проданов
on 10/14/21, 2:37 PM

Hi, Odoo 14 don't installs by default "python3". I tried with "python -m pip install webp", it runs and  produces the same error. Do I need to upgrade python to some exact version? What will happen with generall system compability?

Re:
by
ERP SWISS
on 10/15/21, 11:09 AM Author

Please try to install once python -m pip install webp if still you have issue we will exceptionally setup a google meet call with you and try to help. 

Regards


Please support
by
VelizarProdanov
on 10/13/21, 8:35 AM Confirmed Purchase

Hi, I bought the module, but get error in preparation step - pip3 install webp
How to proceed on Windows server 2019!?

ERROR: Could not find a version that satisfies the requirement webp (from versions: 0.1.0a4, 0.1.0a5, 0.1.0a6, 0.1.0a7, 0.1.0a9, 0.1.0a10, 0.1.0a11, 0.1.0a12, 0.1.0a13, 0.1.0a14, 0.1.0a15, 0.1.0a16, 0.1.0, 0.1.1, 0.1.2, 0.1.3)

ERROR: No matching distribution found for webp

Re: Please support
by
ERP SWISS
on 10/14/21, 8:21 AM Author

Hello, thank you for purchasing our module. 

This is sever-side support we are not usually doing but try please the following commands : 

python3 -m pip install webporpython -m pip install webp




this modulo is compatible in v11?
by
jose
on 9/23/21, 3:15 PM

this modulo is compatible in v11?

Re: this modulo is compatible in v11?
by
ERP SWISS
on 9/23/21, 4:09 PM Author

Hello, only v13 and v14


by
Marco Siebert
on 9/21/21, 4:53 AM Confirmed Purchase

Hi, is this also for odoo.sh?

thanks!

Re:
by
ERP SWISS
on 9/21/21, 5:21 AM Author

Hello unfortunately not ! tested on Community only. 


by
Adi
on 9/12/21, 7:34 AM

Hi

I am interested in buying the module.


But how exactly do I install?

pip3 install webp

pip3 install cssselect


Do you have a guide?


Thank you

Re:
by
ERP SWISS
on 9/13/21, 5:00 AM Author

Hello,


You will have to simply run the commands on your server terminal. 


There is lot of youtube materials related. 

We dont have server side manuals as it is not our part of task. 


Thanks 


Odoo sh
by
Vincenzo Di Roberto
on 8/19/21, 3:17 AM

Good morning,

do you known if this module works correctly on odoo.sh?


Re: Odoo sh
by
ERP SWISS
on 9/23/21, 4:33 PM Author

Hello, as you have tried on your sh it works ! Thank you for purchasing our module. 

Cheers


Question about the module
by
juanc.rojasl@outlook.com
on 7/14/21, 11:50 PM

Este módulo procesa todas las imágenes, incluso las del backend y pos?

o ¿Es solo para la optimización de imágenes web?


Uploading Image WebP
by
hi@wilber.dev
on 6/3/21, 2:18 PM

When installing this module, accept uploading images directly in the WebP format?

Re: Uploading Image WebP
by
ERP SWISS
on 6/3/21, 5:18 PM Author

Basically you can upload any accepted by Odoo media format ! module will convert jpeg, jpg, png in to webp.


by
hi@wilber.dev
on 6/3/21, 12:50 PM

Al instalar este módulo, aceptaría cargar imágenes directamente en el formato WebP?

Re:
by
ERP SWISS
on 6/3/21, 1:49 PM Author

Sorry did not get your question. 

Re:
by
ERP SWISS
on 6/3/21, 1:49 PM Author

Sorry did not get your question. 


tengo curiosidad
by
hi@wilber.dev
on 6/2/21, 7:28 PM

This module also converts all the images of the products that are loaded in the inventory and displayed in the online store?

Re: tengo curiosidad
by
ERP SWISS
on 6/3/21, 12:37 AM Author

Hello, This module will convert all published product products Displayed in online store.

Thank you




by
abhijit.daas@gmail.com
on 5/26/21, 1:31 PM

Does this module allow uploading webp image in odoo 12.0 ? 

Re:
by
ERP SWISS
on 5/27/21, 5:02 AM Author

Hello, Unfortunately the available versions are v13 v14


by
Yechte Odoo
on 5/25/21, 2:51 AM

Hi, I have a query. Is this module upload web images on front end images only on website or can we update images in back end as well. Suppose  employee image on employee form or partner image or any another form? On these form can upload webp images by using this moule?

 

Re:
by
ERP SWISS
on 5/25/21, 3:51 AM Author

Hi, Unfortunately not. You can convert images only on front end.


Cheers 


Doesn't work V14 Ubuntu 20.04 or 18.04
by
W Brugger
on 3/30/21, 3:19 PM Confirmed Purchase

The module wont install even though the OS has the dependencies that are required. Probably a conflict with one of the libraries necessary for V14 (I think a new version of Pillow has been added recently) , but who knows?  Maybe the developer, but since they haven't responded to my ticket, maybe not. I do not recommend purchasing this. UPDATE: My sales order is SO2021/1357771.  I posted a comment on the app page asking for support and through my odoo account "ask the developer for support".  I did this 7 days ago.  Now I get an immediate reply when I post an honest review.  

Re: Doesn't work V14 Ubuntu 20.04 or 18.04
by
ERP SWISS
on 3/30/21, 6:04 PM Author

Dear W Brugger,

Please note that your ticket has been created on 03/24/2021, probably you did not noticed but at this dates was odoo.com website and server maintenance. This could be the reason why we did not received email notification and did not treat your issue. However the WEB P module for Odoo is all-ready successfully installed 28 times (except your case) trough marketplace and we always supported our customers. However "Unable to install module "images_to_webp" because an external dependency is not met: Python library not installed: webp" error message can be due several server side settings and configurations (this is server side support). We can provide you this kind of help trough SSH or Any Desk. (drop DM if need help). We are open from 9:00 till 18:00 UTC/GMT +1 Zurich. Regards


Doesn't work V14 Ubuntu 20.04 or 18.04
by
W Brugger
on 3/30/21, 3:19 PM Confirmed Purchase

The module wont install even though the OS has the dependencies that are required. Probably a conflict with one of the libraries necessary for V14 (I think a new version of Pillow has been added recently) , but who knows?  Maybe the developer, but since they haven't responded to my ticket, maybe not. I do not recommend purchasing this. UPDATE: My sales order is SO2021/1357771.  I posted a comment on the app page asking for support and through my odoo account "ask the developer for support".  I did this 7 days ago.  Now I get an immediate reply when I post an honest review.  


Doesn't work V14 Ubuntu 20.04 or 18.04
by
W Brugger
on 3/30/21, 3:18 PM Confirmed Purchase

The module wont install even though the OS has the dependencies that are required. Probably a conflict with one of the libraries necessary for V14 (I think a new version of Pillow has been added recently) , but who knows?  Maybe the developer, but since they haven't responded to my ticket, maybe not. I do not recommend purchasing this. UPDATE: My sales order is SO2021/1357771.  I posted a comment on the app page asking for support and through my odoo account "ask the developer for support".  I did this 7 days ago.  Now I get an immediate reply when I post an honest review.  
BTW, if you just click over to the discuss tab you'll see my post.


Doesn't work V14 Ubuntu 20.04 or 18.04
by
W Brugger
on 3/30/21, 3:17 PM Confirmed Purchase

The module wont install even though the OS has the dependencies that are required. Probably a conflict with one of the libraries necessary for V14 (I think a new version of Pillow has been added recently) , but who knows?  Maybe the developer, but since they haven't responded to my ticket, maybe not. I do not recommend purchasing this.

UPDATE:

My sales order is SO2021/1357771.  I posted a comment on the app page asking for support and through my odoo account "ask the developer for support".  I did this 7 days ago.  Now I get an immediate reply when I post an honest review. 


Doesn't work V14 Ubuntu 20.04 or 18.04
by
W Brugger
on 3/30/21, 11:49 AM Confirmed Purchase

The module wont install even though the OS has the dependencies that are required. Probably a conflict with one of the libraries necessary for V14 (I think a new version of Pillow has been added recently) , but who knows?  Maybe the developer, but since they haven't responded to my ticket, maybe not.

I do not recommend purchasing this.


Re: Doesn't work V14 Ubuntu 20.04 or 18.04
by
ERP SWISS
on 3/30/21, 3:04 PM Author

Herr Brugger, I am not sure you bought this module could you please provide SO number to check ? you are sure to comment on the right module ? We always trying to answer within 48 hours latest. Please show the ticket you have opened. We call directly to support our product if needed ! If you are not able to provide such information I will report this case as Blackmailing our product. 

Regards


Can't install
by
W Brugger
on 3/23/21, 10:16 PM Confirmed Purchase

Hello,

I am running on ubuntu 18.04. I have installed the required modules as instructed and rebooted my server, but no luck. I still get the

"Unable to install module "images_to_webp" because an external dependency is not met: Python library not installed: webp"

error message.  Any suggestions?


by
Jacob Grundy
on 2/1/21, 9:10 PM Confirmed Purchase

Just following up on my last message, thanks!


Fallback Image reply
by
Jacob Grundy
on 1/26/21, 8:16 PM Confirmed Purchase

Hey, thanks for your quick reply! I'm leaning towards a purchase now but I have some follow up questions before I do.

  • Supporting Jpeg2000 will be fantastic to convert the fallback images as well, but if we have the fallback image then Webp is still superior right? And will we be eligible for the update when it arrives?

  • Would you mind being able to demonstrate the fallback for me either through showing the HTML in Odoo or showing the images on safari vs chrome?

  • I just wanted to be clear on whether this works on product images for the e-commerce side in the shop or just our web pages?

  • When we upload a new Jpeg after the module is installed, I would assume that the Jpeg is kept on the server for later use when working with mobile safari browser?

Thanks so much, I really appreciate the support so far!

Re: Fallback Image reply
by
ERP SWISS
on 2/16/21, 3:23 AM Author

HI Jacob,

Sorry for late replay.

JPEG2000 will be supported in our next updates. You will have clear explanations and demo shown in Marketplace. 

Module converts PNG and JPEG files uploaded after installation both website media and product images. 

Yes the original files are stored in case if the browser did not support nextgen filetypes. Images are converted to webp format using tags.  

Regards


by
Andrés García
on 1/26/21, 9:43 AM

Hi,

Does this module also affects the backend images? Or only the website images?

Re:
by
ERP SWISS
on 1/26/21, 11:51 AM Author

Hello,

 only website images.

Thank you for your interest in our module.


dsaf
by
Jacob Grundy
on 1/26/21, 1:58 AM Confirmed Purchase

dsaf


Fallback image
by
Jacob Grundy
on 1/26/21, 1:57 AM Confirmed Purchase

Hi, I am interested in purchasing this app, however, I wanted to see if this created a fallback image for Safari and other browsers that do not support WebP so that users can still view the images in this case?

<picture>
<source type="image/webp" srcset="flower.webp">
<source type="image/jpeg" srcset="flower.jpg">
<img src="flower.jpg" alt="">
</picture>

Also, does this tool convert product images as well, or just images added elsewhere on the site? 

Re: Fallback image
by
ERP SWISS
on 1/26/21, 11:55 AM Author

Hello,

Thank you for your interest in our module. In this case if the Browser does not support WebP format the jpg or png (as per uploaded image format) will be shown.

Please Note that we are working on Jpeg2000 version update of our module. 

Please feel free to ask if any questions.



by
ryad
on 1/25/21, 6:44 AM

Hi,

I'm not able to install the module,

every time i try to install the module Odoo service crashes

Please help


Re:
by
ERP SWISS
on 1/25/21, 10:10 AM Author

Please share screenshot or give access to Demo DB in Direct messages.

Regards

Support Team


Best wishes for 2021. I get the following error
by
Doğan Üstündağ
on 1/2/21, 12:19 PM Confirmed Purchase

Any comments to the below odoo error log?   Thanks


2021-01-02 17:00:59,328 1378 WARNING odoo14-0 py.warnings: /odoo/custom/addons/images_to_webp/models/ir_ui_view.py:13: DeprecationWarning: The import 'werkzeug.url_quote' is deprecated and will be removed in Werkzeug 1.0. Use 'from werkzeug.urls import url_quote' instead.

  from werkzeug import url_quote


Re: Best wishes for 2021. I get the following error
by
ERP SWISS
on 1/4/21, 1:46 AM Author

This is not a big deal, but if you want to get read of this log message simply update to newest version of WebP Module. Thanks 


Site Map error. Buggy
by
Doğan Üstündağ
on 12/13/20, 7:26 AM Confirmed Purchase

500: Internal Server Error

Traceback

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/odoo/odoo-server/odoo/http.py", line 806, in dispatch
    r = self._call_function(**self.params)
  File "/odoo/odoo-server/odoo/http.py", line 359, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo-server/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo-server/odoo/http.py", line 347, in checked_call
    result = self.endpoint(*a, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 912, in __call__
    return self.method(*args, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 531, in response_wrap
    response = f(*args, **kw)
  File "/odoo/odoo-server/addons/website/controllers/main.py", line 181, in sitemap_xml_index
    urls = View._render_template('website.sitemap_locs', values)
  File "/odoo/custom/addons/images_to_webp/models/ir_ui_view.py", line 78, in _render_template
    res = fromstring(res)
  File "/usr/local/lib/python3.8/dist-packages/lxml/html/__init__.py", line 875, in fromstring
    doc = document_fromstring(html, parser=parser, base_url=base_url, **kw)
  File "/usr/local/lib/python3.8/dist-packages/lxml/html/__init__.py", line 763, in document_fromstring
    raise etree.ParserError(
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/odoo/odoo-server/odoo/http.py", line 806, in dispatch
    r = self._call_function(**self.params)
  File "/odoo/odoo-server/odoo/http.py", line 359, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo-server/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo-server/odoo/http.py", line 347, in checked_call
    result = self.endpoint(*a, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 912, in __call__
    return self.method(*args, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 531, in response_wrap
    response = f(*args, **kw)
  File "/odoo/odoo-server/addons/website/controllers/main.py", line 181, in sitemap_xml_index
    urls = View._render_template('website.sitemap_locs', values)
  File "/odoo/custom/addons/images_to_webp/models/ir_ui_view.py", line 78, in _render_template
    res = fromstring(res)
  File "/usr/local/lib/python3.8/dist-packages/lxml/html/__init__.py", line 875, in fromstring
    doc = document_fromstring(html, parser=parser, base_url=base_url, **kw)
  File "/usr/local/lib/python3.8/dist-packages/lxml/html/__init__.py", line 763, in document_fromstring
    raise etree.ParserError(
lxml.etree.ParserError: Document is empty

by
Xavier Brochard
on 11/23/20, 10:57 AM

Whidle very interesting, it has to be noted that Webp format is not yet available in all major browsers. Safari is in late. So beware if your visitors comes from macOs.

To check current implementation stase refer to https://caniuse.com/?search=webp


by
Doğan Üstündağ
on 11/11/20, 1:26 PM Confirmed Purchase

Hi

See the weblink for enlarged images

http://www.sprinklermarket.com/shop


by
Doğan Üstündağ
on 11/10/20, 2:26 PM Confirmed Purchase

The product images become bigger and out of the frame??

Any method to decrease the size?

Re:
by
ERP SWISS
on 11/10/20, 3:35 PM Author

can you share the link to check please ? 


by
Doğan Üstündağ
on 10/22/20, 9:24 AM Confirmed Purchase

Hi

Does odoo14 support  webp? Do you have a demo? Thanks

Dogan

Re:
by
ERP SWISS
on 10/22/20, 10:58 AM Author

Hi Dogan, 

Yes the WebP module is tested and compatible on Odoo v14. Remember you have to :

Install the following python dependencies before you install the module

pip3 install webp
pip3 install cssselect