コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4491 ビュー

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 ? 

アバター
破棄
最善の回答

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.


アバター
破棄
著作者

Ah.. it works, thanks :)

welcome

関連投稿 返信 ビュー 活動
1
3月 19
4182
1
11月 23
1770
2
2月 23
8104
0
11月 20
2343
0
9月 20
3328