在删除Odoo 10中的特定模块文件夹之前出错404

时间:2018-03-22 12:15:03

标签: python django python-2.7 odoo odoo-10

我在应用程序文件夹中放置了一个Odoo 8模块,然后我删除了它,因为我找到了10个版本,然后它显示了以下错误:

GET https://dm06069.mywebsite.com/web/image/ir.ui.menu/443/web_icon_data 500 (INTERNAL SERVER ERROR)
web.assets_common.js:561 GET https://dm06069.mywebsite.com/web/static/lib/fontawesome/fonts/fontawesome-webfont.woff2?v=4.5.0 net::ERR_ABORTED
(anonymous) @ web.assets_common.js:561
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
ready @ web.assets_common.js:554
completed @ web.assets_common.js:555
web.assets_common.js:561 GET https://dm06069.mywebsite.com/backend_theme_v10/static/src/font/Roboto-Regular.ttf net::ERR_ABORTED
(anonymous) @ web.assets_common.js:561
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
ready @ web.assets_common.js:554
completed @ web.assets_common.js:555
web.assets_common.js:2939 GET https://dm06069.mywebsite.com/web_editor/static/src/xml/ace.xml 404 (NOT FOUND)
load_xml @ web.assets_common.js:2939
add_template @ web.assets_common.js:2923
loadXML @ web.assets_common.js:3053
(anonymous) @ web.assets_common.js:3719
process_job @ web.assets_common.js:3000
process_jobs @ web.assets_common.js:3006
(anonymous) @ web.assets_common.js:3001
(anonymous) @ web.assets_common.js:547
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
deferred.(anonymous function) @ web.assets_common.js:548
(anonymous) @ web.assets_common.js:3737
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
ready @ web.assets_common.js:554
completed @ web.assets_common.js:555
web.assets_common.js:3038 GET https://dm06069.mywebsite.com/web/webclient/locale/es_ES net::ERR_ABORTED
loadJS @ web.assets_common.js:3038
load_js @ web.assets_common.js:3151
(anonymous) @ web.assets_common.js:3151
(anonymous) @ web.assets_common.js:547
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
deferred.(anonymous function) @ web.assets_common.js:548
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
(anonymous) @ web.assets_common.js:547
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
(anonymous) @ web.assets_common.js:547
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
done @ web.assets_common.js:937
callback @ web.assets_common.js:957
XMLHttpRequest.send (async)
send @ web.assets_common.js:954
ajax @ web.assets_common.js:930
(anonymous) @ web.assets_common.js:3030
genericJsonRpc @ web.assets_common.js:3028
jsonRpc @ web.assets_common.js:3030
(anonymous) @ web.assets_common.js:3164
(anonymous) @ web.assets_common.js:547
fire @ web.assets_common.js:541
add @ web.assets_common.js:542
(anonymous) @ web.assets_common.js:547
each @ web.assets_common.js:370
(anonymous) @ web.assets_common.js:547
Deferred @ web.assets_common.js:548
then @ web.assets_common.js:547
rpc @ web.assets_common.js:3161
load_translations @ web.assets_common.js:3024
load_translations @ web.assets_common.js:3151
load_modules @ web.assets_common.js:3150
(anonymous) @ web.assets_common.js:3142
(anonymous) @ web.assets_common.js:547
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
deferred.(anonymous function) @ web.assets_common.js:548
(anonymous) @ web.assets_common.js:3207
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
(anonymous) @ web.assets_common.js:547
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
done @ web.assets_common.js:937
callback @ web.assets_common.js:957
XMLHttpRequest.send (async)
send @ web.assets_common.js:954
ajax @ web.assets_common.js:930
jQuery.(anonymous function) @ web.assets_common.js:941
(anonymous) @ web.assets_common.js:3152
(anonymous) @ web.assets_common.js:3207
(anonymous) @ web.assets_common.js:547
fire @ web.assets_common.js:541
add @ web.assets_common.js:542
(anonymous) @ web.assets_common.js:547
each @ web.assets_common.js:370
(anonymous) @ web.assets_common.js:547
Deferred @ web.assets_common.js:548
then @ web.assets_common.js:547
Mutex.exec @ web.assets_common.js:3207
load_qweb @ web.assets_common.js:3152
(anonymous) @ web.assets_common.js:3142
(anonymous) @ web.assets_common.js:547
fire @ web.assets_common.js:541
add @ web.assets_common.js:542
(anonymous) @ web.assets_common.js:547
each @ web.assets_common.js:370
(anonymous) @ web.assets_common.js:547
Deferred @ web.assets_common.js:548
then @ web.assets_common.js:547
session_init @ web.assets_common.js:3142
session_bind @ web.assets_common.js:3142
(anonymous) @ web.assets_backend.js:1855
process_job @ web.assets_common.js:3000
process_jobs @ web.assets_common.js:3006
define @ web.assets_common.js:2990
(anonymous) @ web.assets_backend.js:1855
web.assets_common.js:3038 Error loading file https://dm06069.mywebsite.com/web/webclient/locale/es_ES
script.onerror @ web.assets_common.js:3038
web:1 GET https://dm06069.mywebsite.com/web/static/lib/fontawesome/fonts/fontawesome-webfont.woff?v=4.5.0 net::ERR_ABORTED
web.assets_common.js:2939 GET https://dm06069.mywebsite.com/web_editor/static/src/xml/editor.xml 404 (NOT FOUND)
load_xml @ web.assets_common.js:2939
add_template @ web.assets_common.js:2923
loadXML @ web.assets_common.js:3053
(anonymous) @ web.assets_common.js:3054
(anonymous) @ web.assets_common.js:2923
(anonymous) @ web.assets_common.js:2938
XMLHttpRequest.send (async)
load_xml @ web.assets_common.js:2939
add_template @ web.assets_common.js:2923
loadXML @ web.assets_common.js:3053
(anonymous) @ web.assets_common.js:3719
process_job @ web.assets_common.js:3000
process_jobs @ web.assets_common.js:3006
(anonymous) @ web.assets_common.js:3001
(anonymous) @ web.assets_common.js:547
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
deferred.(anonymous function) @ web.assets_common.js:548
(anonymous) @ web.assets_common.js:3737
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
ready @ web.assets_common.js:554
completed @ web.assets_common.js:555
web.assets_common.js:561 GET https://dm06069.mywebsite.com/backend_theme_v10/static/src/img/material-background.jpg 404 (NOT FOUND)
(anonymous) @ web.assets_common.js:561
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
ready @ web.assets_common.js:554
completed @ web.assets_common.js:555
web:1 GET https://dm06069.mywebsite.com/web/static/lib/fontawesome/fonts/fontawesome-webfont.ttf?v=4.5.0 net::ERR_ABORTED
web.assets_common.js:2939 GET https://dm06069.mywebsite.com/web_editor/static/src/xml/snippets.xml 404 (NOT FOUND)
load_xml @ web.assets_common.js:2939
add_template @ web.assets_common.js:2923
loadXML @ web.assets_common.js:3053
(anonymous) @ web.assets_common.js:3054
(anonymous) @ web.assets_common.js:2923
(anonymous) @ web.assets_common.js:2938
XMLHttpRequest.send (async)
load_xml @ web.assets_common.js:2939
add_template @ web.assets_common.js:2923
loadXML @ web.assets_common.js:3053
(anonymous) @ web.assets_common.js:3054
(anonymous) @ web.assets_common.js:2923
(anonymous) @ web.assets_common.js:2938
XMLHttpRequest.send (async)
load_xml @ web.assets_common.js:2939
add_template @ web.assets_common.js:2923
loadXML @ web.assets_common.js:3053
(anonymous) @ web.assets_common.js:3719
process_job @ web.assets_common.js:3000
process_jobs @ web.assets_common.js:3006
(anonymous) @ web.assets_common.js:3001
(anonymous) @ web.assets_common.js:547
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
deferred.(anonymous function) @ web.assets_common.js:548
(anonymous) @ web.assets_common.js:3737
fire @ web.assets_common.js:541
fireWith @ web.assets_common.js:546
ready @ web.assets_common.js:554
completed @ web.assets_common.js:555_common.js:555

我发现可能这是一个来自 openerp .py的错误但我找不到下面的错误,因为Odoo中的每个模块都有自己的。我不知道应该找哪个文件必须修改和如何,一些帮助吗?

1 个答案:

答案 0 :(得分:0)

问题是由于版本之间不兼容。 我终于通过git checkout HASHNUMBER

让它回到正确的git版本

首先,我必须找到一个正确配置的git注册表,然后才能将其分解:

git log

它返回如下内容:

commit eb9b03c2e22305c965b610aa84a7d316e5cb208d
Author: Marc Decline <marcdecline@marcdecline.(none)>
Date:   Mon Apr 3 10:15:12 2018 +0200

    commit21

然后git checkout eb9b03c2e22305c965b610aa84a7d316e5cb208d回来。

最后使用

重启服务

service openerp-server stop

service postgresql restart

service openerp-server start