按照网上视频教程"30分钟开发OpenERP 功能模块",在7.0和8.0中做,总是做不成,大神们帮忙给看一下呀,我怀疑是代码bug。
视频网址:
[检测到链接无效,已移除]
注:
在建立菜单那一步骤需要多建立一级菜单
我建立的是三层菜单,课程管理》》课程》》课程界面,按照视频上建立两层菜单出不来界面的。
在建立完菜单后,在界面中新建课程时出现下面错误提示:
OpenERP Server Error
Traceback (most recent call last):
File "D:\GreenOpenERP-8.0-latest-win-x86\openerp\http.py", line 348, in dispatch
response["result"] = self.call_function(**self.params)
File "D:\GreenOpenERP-8.0-latest-win-x86\openerp\http.py", line 220, in call_function
return checked_call(self.db, *args, **kwargs)
File "D:\GreenOpenERP-8.0-latest-win-x86\openerp\service\model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "D:\GreenOpenERP-8.0-latest-win-x86\openerp\http.py", line 215, in checked_call
return self.func(*a, **kw)
File "D:\GreenOpenERP-8.0-latest-win-x86\openerp\http.py", line 532, in call
return self.method(*args, **kw)
File "D:\GreenOpenERP-8.0-latest-win-x86\openerp\addons\web\controllers\main.py", line 1217, in call_kw
return self.call_kw(model, method, args, kwargs)
File "D:\GreenOpenERP-8.0-latest-win-x86\openerp\addons\web\controllers\main.py", line 1209, in call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "D:\GreenOpenERP-8.0-latest-win-x86\openerp\osv\orm.py", line 4111, in create
tuple([f[2] for f in columns if len(f) > 2])
File "D:\GreenOpenERP-8.0-latest-win-x86\openerp\sql_db.py", line 153, in wrapper
return f(self, *args, **kwargs)
File "D:\GreenOpenERP-8.0-latest-win-x86\openerp\sql_db.py", line 218, in execute
res = self.obj.execute(query, params)
ProgrammingError: column "x_startdate" of relation "x_lesson" does not exist
LINE 1: INSERT INTO "x_lesson" ("id", "x_startdate", "x_enddate", "x...
^
提示上说:x_startdate等不存在,或者关系x_lesson不存在,我看了,确实确实是存在的,都是我创建的呀。。。。
______________________________________________________________________________________
[color=red]感谢开发群 上海-Joshua 大神的无私帮助,初步诊断,大神怀疑有个模块有bug,因时间太晚,明天继续诊断
请其他大神帮忙按照上面链接中的教程走一遍试试,openerp的发展离不开大神们的帮助,谢谢你们,辛苦了。[/color]
T
toparrow
@toparrow
-
大神们,进来看一下,是不是openerp的bug