Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4404 Vistas

I use Odoo 10.00 on Ubuntu Server 16.04 LTS. At the begining everything seems so fine. But after I tried to update the apps, I got some error messages : 


While I click Apps > Update (also Update Apps List)  I got error : 

Odoo Client Error

Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

https://apps.odoo.com/bus/static/src/js/bus.js:259

Traceback:


Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

  at setItem (https://apps.odoo.com/bus/static/src/js/bus.js:259:5)

  at Class.focus_change (https://apps.odoo.com/bus/static/src/js/bus.js:239:9)

  at Class.prototype.(anonymous function) [as focus_change] (https://apps.odoo.com/web/static/src/js/framework/class.js:89:38)

  at dispatch (https://apps.odoo.com/web/static/lib/jquery/jquery.js:4641:58)

  at elemData.handle (https://apps.odoo.com/web/static/lib/jquery/jquery.js:4309:63)


- - - - - - - - - -


Odoo Client Error

Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

https://apps.odoo.com/web/content/1312616-eb64e2b/web.assets_backend.js:4520

Traceback:

Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

  at setItem (https://apps.odoo.com/web/content/1312616-eb64e2b/web.assets_backend.js:4520:29)

  at Class.focus_change (https://apps.odoo.com/web/content/1312616-eb64e2b/web.assets_backend.js:4518:614)

  at Class.prototype.(anonymous function) [as focus_change] (https://apps.odoo.com/web/content/1173709-8712006/web.assets_common.js:2533:559)

  at dispatch (https://apps.odoo.com/web/content/1173709-8712006/web.assets_common.js:740:451)

  at elemData.handle (https://apps.odoo.com/web/content/1173709-8712006/web.assets_common.js:713:173)


Any idea how to fix this ? 

Avatar
Descartar
Mejor respuesta

Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

The above exception is thrown when the "Block third-party cookies and site data" checkbox is set True in Content Settings.To find the settings:

Under Chrome's Settings > Privacy > Content settings button

or

open Chrome settings, type "third" in the search box, click the Content Settings button, and view the fourth item under Cookies.



If this setting is checked, third-party scripts cookies are disallowed and access to localStorage may result in thrown SecurityError exceptions.


Avatar
Descartar
Autor

Ah.. it works, thanks :)

welcome

Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 19
4097
1
nov 23
1660
2
feb 23
7908
0
nov 20
2228
0
sept 20
3188