Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
9089 Weergaven

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

Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
5
mei 16
2670
1
okt. 17
11335
2
sep. 16
5446
1
aug. 16
3601
1
sep. 22
6820