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

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

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

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

学习创建模块"请假申请",奇怪的错误出现



  • 各位高手,我刚接触OpenERP正在学习中,运行环境是win7 home + oe6.1。<br />按网上学习材料的指导创建请假申请模块,先后创建数据库对象、试图和action,都很正常,界面上也出现了功能菜单,点击进入可以输入申请人、开始日期、天数和事由,但保存时出现错误。<br />根据错误信息描述,似乎是创建的数据库表对象没有包含字段,进入postgre数据库中查看,x_qingjd果然没有包含字段,但可以在ir_model和ir_model_field中查看到所有的表和字段的信息。请问这是怎么回事?请不吝指教,谢谢!<br /><br />[b][u]以下是错误信息[/u][/b]您的 OpenERP 版本没有包含支持。支持与维护服务在此处可以购买:模型“%s”的字段.<br />OpenERP Server Error<br />--------------------------------------------------------------------------------<br />Client Traceback (most recent call last):<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\common\http.py", line 180, in dispatch<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\controllers\main.py", line 970, in create<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\common\http.py", line 608, in send<br /><br /><br />Server Traceback (most recent call last):<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\common\http.py", line 593, in send<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\netsvc.py", line 360, in dispatch_rpc<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\service\web_services.py", line 586, in dispatch<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\osv\osv.py", line 186, in execute_kw<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\osv\osv.py", line 129, in wrapper<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\osv\osv.py", line 195, in execute<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\osv\osv.py", line 183, in execute_cr<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\osv\orm.py", line 4194, in create<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\sql_db.py", line 152, in wrapper<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\sql_db.py", line 212, in execute<br />ProgrammingError: column "x_kaisrq" of relation "x_qingjd" does not exist<br />LINE 1: insert into "x_qingjd" (id,"x_kaisrq","x_shiyou","x_tians","...<br />                                  ^<br /><br />



  • 各位高手,我刚接触OpenERP正在学习中,运行环境是win7 home + oe6.1。<br />按网上学习材料的指导创建请假申请模块,先后创建数据库对象、试图和action,都很正常,界面上也出现了功能菜单,点击进入可以输入申请人、开始日期、天数和事由,但保存时出现错误。<br />根据错误信息描述,似乎是创建的数据库表对象没有包含字段,进入postgre数据库中查看,x_qingjd果然没有包含字段,但可以在ir_model和ir_model_field中查看到所有的表和字段的信息。请问这是怎么回事?请不吝指教,谢谢!<br /><br />[b][u]以下是错误信息[/u][/b]您的 OpenERP 版本没有包含支持。支持与维护服务在此处可以购买:模型“%s”的字段.<br />OpenERP Server Error<br />--------------------------------------------------------------------------------<br />Client Traceback (most recent call last):<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\common\http.py", line 180, in dispatch<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\controllers\main.py", line 970, in create<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\common\http.py", line 608, in send<br /><br /><br />Server Traceback (most recent call last):<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server\openerp\addons\web\common\http.py", line 593, in send<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\netsvc.py", line 360, in dispatch_rpc<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\service\web_services.py", line 586, in dispatch<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\osv\osv.py", line 186, in execute_kw<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\osv\osv.py", line 129, in wrapper<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\osv\osv.py", line 195, in execute<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\osv\osv.py", line 183, in execute_cr<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\osv\orm.py", line 4194, in create<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\sql_db.py", line 152, in wrapper<br />  File "C:\Program Files (x86)\OpenERP 6.1-20130301-004316\Server\server.\openerp\sql_db.py", line 212, in execute<br />ProgrammingError: column "x_kaisrq" of relation "x_qingjd" does not exist<br />LINE 1: insert into "x_qingjd" (id,"x_kaisrq","x_shiyou","x_tians","...<br />                                  ^<br /><br />



  • 看这里吧....<br /><br />http://www.tudou.com/programs/view/hOvUnYgwV5U/<br /><br />应该更直观....<br />



  • 谢谢mrshelly指导,很有帮助,问题已经解决!



  • [quote author=mrshelly link=topic=5788.msg14365#msg14365 date=1362458823]<br />看这里吧....<br /><br />http://www.tudou.com/programs/view/hOvUnYgwV5U/<br /><br />应该更直观....<br />[/quote]<br /><br />我在“管理视图”中,新建了一个视图:x_lessons.custom_609 ,然后编辑这个视图,但系统却报这个错误:<br /><br />OpenERP 客户端错误:<br />            您的 OpenERP 版本没有包含支持。支持与维护服务在此处可以购买:模型“%s”的字段. <br />'tagName' 为空或不是对象<br />--------------------------------------------------------------------------------<br /><br />http://localhost:8069/web/static/src/js/view_editor.js?debug=1343736028.0:152<br /><br />请问是什么原因,是不是漏装什么模块了?谢谢。


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待