Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
9086 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
5
mai 16
2669
1
oct. 17
11327
2
sept. 16
5445
1
aug. 16
3600
1
sept. 22
6820