css 从 Odoo V13 的 ir 附件中删除的 js 文件
css js files deleted from ir attachments in Odoo V13
我错误地删除了 css 中的 ir_attachment 模型中的 js 文件,其中 res_model 是“ir.ui.view”。
现在,当我加载服务器时,我看到以下回溯错误并完成 UI 样式消失。
Error:
Traceback:
exception@http://172.16.250.21:8069/web/content/1000000030-e5f254f/web.assets_common.js:3692:7
_render@http://172.16.250.21:8069/web/content/1000000030-e5f254f/web.assets_common.js:3737:103
render@http://172.16.250.21:8069/web/content/1000000030-e5f254f/web.assets_common.js:3733:151
renderElement@http://172.16.250.21:8069/web/content/1000000030-e5f254f/web.assets_common.js:4090:1137
_widgetRenderAndInsert/<@http://172.16.250.21:8069/web/content/1000000030-e5f254f/web.assets_common.js:4100:6
这是文件列表
'web_editor.assets_wysiwyg.css'
'web_editor.assets_wysiwyg.js'
'web.assets_frontend_minimal_js.js'
'web.assets_common_lazy.js'
'web.assets_frontend_lazy.js'
'web.report_assets_pdf.css'
'web.assets_common.css'
'web.report_assets_common.css'
'web.report_assets_common.css'
'web.assets_frontend.css'
'web.assets_common_minimal_js.js'
'web.assets_common.js'
'web.report_assets_common.js'
'web.report_assets_common.js'
我已经手动添加了这些,但是我看不到问题已解决,因为路径 url 与 id 相关联
例如:/web/content/560-03d15b3/web_editor.assets_wysiwyg.css
其中 560 是 ID。
我只想重新生成这些记录,使其像删除它们之前一样工作。
或者是否有可能恢复已删除的postgres数据?
你只需要升级base
模块,这将恢复所有qweb,js文件
我错误地删除了 css 中的 ir_attachment 模型中的 js 文件,其中 res_model 是“ir.ui.view”。
现在,当我加载服务器时,我看到以下回溯错误并完成 UI 样式消失。
Error:
Traceback:
exception@http://172.16.250.21:8069/web/content/1000000030-e5f254f/web.assets_common.js:3692:7
_render@http://172.16.250.21:8069/web/content/1000000030-e5f254f/web.assets_common.js:3737:103
render@http://172.16.250.21:8069/web/content/1000000030-e5f254f/web.assets_common.js:3733:151
renderElement@http://172.16.250.21:8069/web/content/1000000030-e5f254f/web.assets_common.js:4090:1137
_widgetRenderAndInsert/<@http://172.16.250.21:8069/web/content/1000000030-e5f254f/web.assets_common.js:4100:6
这是文件列表
'web_editor.assets_wysiwyg.css'
'web_editor.assets_wysiwyg.js'
'web.assets_frontend_minimal_js.js'
'web.assets_common_lazy.js'
'web.assets_frontend_lazy.js'
'web.report_assets_pdf.css'
'web.assets_common.css'
'web.report_assets_common.css'
'web.report_assets_common.css'
'web.assets_frontend.css'
'web.assets_common_minimal_js.js'
'web.assets_common.js'
'web.report_assets_common.js'
'web.report_assets_common.js'
我已经手动添加了这些,但是我看不到问题已解决,因为路径 url 与 id 相关联
例如:/web/content/560-03d15b3/web_editor.assets_wysiwyg.css
其中 560 是 ID。
我只想重新生成这些记录,使其像删除它们之前一样工作。 或者是否有可能恢复已删除的postgres数据?
你只需要升级base
模块,这将恢复所有qweb,js文件