Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
9110 มุมมอง

I'm a newbie in Odoo and python. After tried to make a custom module based on tutorial on odoo v9 page, I found some trouble when running it. It said that can't find the module named openerp. 

Here's the text from my IDE :

        Traceback (most recent call last): File "C:/Program Files (x86)/Odoo 9.0-20160921/server/openerp/addons/openacademy/models/models.py", line 2, in <module> from openerp import models, fields, apiImportError: No module named openerp

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

just add Path in your odoo-server.config file and edit--->>>  addons_path = /opt/odoo/9.0/9.0-Ent,/opt/odoo/9.0/9.0/addons,("your custom module path"),


simply copy the path link and paste it.. This will work

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
5
พ.ค. 16
2682
1
ต.ค. 17
11369
2
ก.ย. 16
5462
1
ส.ค. 16
3614
1
ก.ย. 22
6820