Skip to Content
Menu
This question has been flagged
 Traceback (most recent call last):
  File "/home/pks/Documents/odoo/10.0/odoo-10.0rc1c-20161004/openerp-server", line 9, in <module> import  openerpImportError: No module named openerp



Avatar
Discard
Author Best Answer


Small change in odoo-server file
Put odoo instead of openerp
#!/usr/bin/env pythonimport openerp
import openerp
if __name__ == "__main__":
    openerp.cli.main()

to

#!/usr/bin/env pythonimport odoo
import odoo
if __name__ == "__main__":
    odoo.cli.main()

 


Avatar
Discard
Related Posts Replies Views Activity
1
Jan 19
1785
1
Dec 17
9486
2
Apr 18
6841
2
Jul 22
7009
14
Aug 18
17475