Odoo中文社区可以通过以下三个域名访问:shine-it.net , odoocn.org,odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

6.0.2数据库恢复到另一台主机,自定义的对象丢失问题



  • 本来在WINDOWS环境上用的,后来听说LINUX上跑快,就装了一台虚拟机CENTOS,所有软件版本都相同,恢复上去能登陆进去,就是点开自定义的模块(老肖的请假单)时,报错了‘Object qingjia.qingjd doesn't exist’,难道这个对象没在数据库里?<br />我在系统管理里面都能看到模块,在底层对象里也能找到qingjia.qingjd,界面上就是打不开。服务器日志如下:<br />

    [2011-06-11 08:53:48,944][?] DEBUG_RPC:params:&nbsp; &#039;active_id&#039;: 377,<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params:&nbsp; &#039;active_ids&#039;: [377],<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params:&nbsp; &#039;active_model&#039;: &#039;ir.ui.menu&#039;,<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params:&nbsp; &#039;client&#039;: &#039;web&#039;,<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params:&nbsp; &#039;department_id&#039;: False,<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params:&nbsp; &#039;lang&#039;: u&#039;zh_CN&#039;,<br />[2011-06-11 08:53:48,944][?] DEBUG_RPC:params:&nbsp; &#039;project_id&#039;: False,<br />[2011-06-11 08:53:48,945][?] DEBUG_RPC:params:&nbsp; &#039;section_id&#039;: False,<br />[2011-06-11 08:53:48,945][?] DEBUG_RPC:params:&nbsp; &#039;tz&#039;: 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&quot;warning -- Object Error\n\nObject qingjia.qingjd doesn&#039;t exist&quot;<br />[2011-06-11 08:53:48,946][PCB] DEBUG:web-services:netrpc: rpc-dispatching exception<br />Traceback (most recent call last):<br />&nbsp; File &quot;/usr/lib/python2.6/site-packages/openerp-server/service/netrpc_server.py&quot;, line 70, in run<br />&nbsp; &nbsp; result = self.dispatch(msg[0], msg[1], msg[2:])<br />&nbsp; File &quot;/usr/lib/python2.6/site-packages/openerp-server/netsvc.py&quot;, line 499, in dispatch<br />&nbsp; &nbsp; raise OpenERPDispatcherException(e, tb_s)<br />OpenERPDispatcherException<br />
    

    <br />



  • 听说要备份3样东西才行,数据库/addon目录/配置文件,没错吧?



  • 配置文件没有多大用..<br /><br />主要是 数据库和 addons 你动过的模块...



  • OK,懂了,感谢热心的朋友!