我在安装Windows的OpenERP 7.0时,Eclipse 4.2和Python 2.7 7.OpenERP的7.0 Python 2.7版操作系统windows 7
步步紧跟导师如何在OpenERP的一个新的模块,但我不断收到这样,错误。
Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server\openerp\addons\student\student.py", line 1, in <module>
from osv import osv
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server\openerp\osv\osv.py", line 28
import IntegrityError, OperationalError, errorcodes
^
IndentationError: unexpected indent
我认为你需要提供你的代码,它清楚地表明缩进给出错误,python对缩进敏感,请再次检查并完全按照教程中提供的方法整理你的代码。 – kannetkeifer