odoo Model xxx is declared but c

2019-12-06  本文已影响0人  NIGangJun

每次升级模块后,后台会有一些warning出现,其中一条

2019-12-06 02:22:39,888 1 WARNING odoo odoo.modules.loading: Model xxx is declared but cannot be loaded! (Perhaps a module was partially removed or renamed)

需要在数据库中对 ir_model 模块清理对应 xxx 的记录

select count(*) from ir_model where model = 'xxx';
-- (1 row)
-- 执行下面的 delete 语句
delete from ir_model where model = 'xxx';
上一篇下一篇

猜你喜欢

热点阅读