6.0.2数据库恢复到另一台主机,自定义的对象丢失问题
-
本来在WINDOWS环境上用的,后来听说LINUX上跑快,就装了一台虚拟机CENTOS,所有软件版本都相同,恢复上去能登陆进去,就是点开自定义的模块(老肖的请假单)时,报错了‘Object qingjia.qingjd doesn't exist’,难道这个对象没在数据库里?
我在系统管理里面都能看到模块,在底层对象里也能找到qingjia.qingjd,界面上就是打不开。服务器日志如下:[2011-06-11 08:53:48,944][?] DEBUG_RPC:params: 'active_id': 377,<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params: 'active_ids': [377],<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params: 'active_model': 'ir.ui.menu',<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params: 'client': 'web',<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params: 'department_id': False,<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params: 'lang': u'zh_CN',<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params: 'project_id': False,<br />[2011-06-11 08:53:48,945][?] DEBUG_RPC:params: 'section_id': False,<br />[2011-06-11 08:53:48,945][?] DEBUG_RPC:params: 'tz': False},<br />[2011-06-11 08:53:48,945][?] DEBUG_RPC:params: True,<br />[2011-06-11 08:53:48,945][?] DEBUG_RPC:params: False]<br />[2011-06-11 08:53:48,945][PCB] DEBUG_RPC:exception:u"warning -- Object Error\n\nObject qingjia.qingjd doesn't exist"<br />[2011-06-11 08:53:48,946][PCB] DEBUG:web-services:netrpc: rpc-dispatching exception<br />Traceback (most recent call last):<br /> File "/usr/lib/python2.6/site-packages/openerp-server/service/netrpc_server.py", line 70, in run<br /> result = self.dispatch(msg[0], msg[1], msg[2:])<br /> File "/usr/lib/python2.6/site-packages/openerp-server/netsvc.py", line 499, in dispatch<br /> raise OpenERPDispatcherException(e, tb_s)<br />OpenERPDispatcherException<br />