javascript Odoo 16 -未捕获的承诺>组件“Pinterest”的无效属性:未知键“model”

wgx48brx  于 2023-01-24  发布在  Java
关注(0)|答案(1)|浏览(384)

我得到这个错误时,试图打开一个任务的Map视图的任务(在一个项目或其他)。见所附的屏幕截图。
我已经在自己的代码中扩展了project.task模型和它的一些视图,所以我愿意接受这可能是我的错误,但我不知道如何开始调试这个问题。

UncaughtPromiseError > OwlError
Uncaught Promise > Invalid props for component 'ProjectTaskFormController': unknown key 'model'
OwlError: Invalid props for component 'ProjectTaskFormController': unknown key 'model'
    at Object.validateProps (http://localhost:8069/web/assets/debug/web.assets_common.js:19239:19) (/web/static/lib/owl/owl.js:3069)
    at View.slot1 (eval at compile (http://localhost:8069/web/assets/debug/web.assets_common.js:21606:16), <anonymous>:13:13) (/web/static/lib/owl/owl.js:5436)
    at callSlot (http://localhost:8069/web/assets/debug/web.assets_common.js:19053:37) (/web/static/lib/owl/owl.js:2883)
    at WithSearch.template (eval at compile (http://localhost:8069/web/assets/debug/web.assets_common.js:21606:16), <anonymous>:8:12) (/web/static/lib/owl/owl.js:5436)
    at Fiber._render (http://localhost:8069/web/assets/debug/web.assets_common.js:17791:38) (/web/static/lib/owl/owl.js:1621)
    at Fiber.render (http://localhost:8069/web/assets/debug/web.assets_common.js:17783:18) (/web/static/lib/owl/owl.js:1613)
    at ComponentNode.initiateRender (http://localhost:8069/web/assets/debug/web.assets_common.js:18505:23) (/web/static/lib/owl/owl.js:2335)
hpcdzsge

hpcdzsge1#

我提取了Odoo Enterprise(1ec67c2e)的最新提交,问题得到了解决。

相关问题