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