odoo 12-无法读取未定义的属性'getBoundingClientRect'

时间:2019-11-03 12:41:26

标签: javascript python odoo odoo-12

我已经出现此错误3天了。请帮帮我。我还安装了libsass。在这个odoo运作良好之前,但现在我已经遇到这个问题了几天。我已经多次卸载并安装了odoo。 谢谢

http://localhost:8069/web/content/352-afaa597/web.assets_common.js:3745
Traceback:
TypeError: Cannot read property 'getBoundingClientRect' of undefined
    at computeFloatOuterWidthWithMargins (http://localhost:8069/web/content/352-afaa597/web.assets_common.js:3745:73)
    at _adapt (http://localhost:8069/web/content/352-afaa597/web.assets_common.js:3744:461)
    at Object.initAutoMoreMenu (http://localhost:8069/web/content/352-afaa597/web.assets_common.js:3738:533)
    at Class.start (http://localhost:8069/web/content/353-85cee96/web.assets_backend.js:850:189)
    at Class.prototype.<computed> [as start] (http://localhost:8069/web/content/352-afaa597/web.assets_common.js:3538:488)
    at http://localhost:8069/web/content/352-afaa597/web.assets_common.js:3684:52
    at http://localhost:8069/web/content/352-afaa597/web.assets_common.js:802:681
    at fire (http://localhost:8069/web/content/352-afaa597/web.assets_common.js:796:299)
    at Object.add [as done] (http://localhost:8069/web/content/352-afaa597/web.assets_common.js:797:467)
    at Array.<anonymous> (http://localhost:8069/web/content/352-afaa597/web.assets_common.js:802:649)

2 个答案:

答案 0 :(得分:0)

运行此命令

对于linux:sudo pip3 install libsass==0.12.3

对于Windows:pip3 install libsass

答案 1 :(得分:0)

清除浏览器的localStorage和sessionStorage可以为我解决此问题。