odoo-addons icon indicating copy to clipboard operation
odoo-addons copied to clipboard

Error - Pop-ups not showing

Open MaxiMoogah opened this issue 3 years ago • 0 comments

Hello Ajepe,

we downloaded this module a couple of months ago. It works great but we noticed that when the module was installed, the standard Odoo error pop-ups stopped appearing.

Looking at the code we noticed that what is causing the issue is line 98 of the init.py file. Commenting this line fixes the pop-up issue, but then the addon does not work.

Steps to Reproduce:

  1. With the restful addon uninstalled, go to a product that has been used in a stock movement
  2. Edit the product, change the Unit of Measure and save the record.

This will show a pop-up with the "Something Went Wrong!" header

  1. Install the restful addon.
  2. Go to the same product, change the Unit of Measure and save the record.

In this case, the pop-up will not show up, and the window will freeze.

I'm leaving a screen recording of the steps explained above.

https://www.loom.com/share/ed37fdaaf72d4d3295abf595e5c726af

Please let me know if it is possible for you to help us fix this or if you need any more extra information.

Thank you and best regards

MaxiMoogah avatar Apr 05 '21 19:04 MaxiMoogah