콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
25695 화면

Traceback (most recent call last):

  File "/home/pchouksey1/workspace/dexciss/core/openerp/service/server.py", line 936, in preload_registries registry = RegistryManager.new(dbname, update_module=update_module) File "/home/pchouksey1/workspace/dexciss/core/openerp/modules/registry.py", line 370, in new openerp.modules.load_modules(registry._db, force_demo, status, update_module) File "/home/pchouksey1/workspace/dexciss/core/openerp/modules/loading.py", line 355, in load_modules loaded_modules, update_module) File "/home/pchouksey1/workspace/dexciss/core/openerp/modules/loading.py", line 255, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/home/pchouksey1/workspace/dexciss/core/openerp/modules/loading.py", line 143, in load_module_graph load_openerp_module(package.name) File "/home/pchouksey1/workspace/dexciss/core/openerp/modules/module.py", line 315, in load_openerp_module __import__('openerp.addons.' + module_name) File "/home/pchouksey1/workspace/dexciss/core/openerp/modules/module.py", line 80, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/home/pchouksey1/workspace/dexciss/repo/auction/__init__.py", line 1, in <module> import sales_auction File "/home/pchouksey1/workspace/dexciss/repo/auction/sales_auction.py", line 1, in <module> class sales_auction(models.Model):

NameError: name 'models' is not defined

아바타
취소
작성자

from openerp import models, api, fields

Hi apoorv

I think there is some issue with your in build odoo modules. Try upgrading base module .Can you please share your .py file

작성자

Hi Sarga

you are right. there was the spelling mistake.

thank you

베스트 답변

It seems to me that you are trying to install a module based on the new Odoo Api in an OpenERP 7 or lower install

아바타
취소