Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

My new module does not appear; I get: No module found!

By
Dale E. Moore
on 1/4/14, 5:49 PM 2,070 views

I have a small module that does not appear for me to install, instead I get "No module found!"

All looks good so I've copied it into my addins folder and nothing I do makes it appear to my "OpenERP version 7.0-20131021-232357" so I upgrade to "openerp_7.0-20140104-002447-1_all.deb" and still have the same issue.

I've written some other modules so I'm amazed that nothing I do seems to have any effect.

/var/log/openerp/openerp-server.log doesn't give me any errors or warnings, and I've got "log_level = debug" in /etc/openerp/openerp-server.conf.

I've "service openerp restart"; F5 in my browser; Settings, Modules, Update Modules List; but still Installed Modules search for the module name doesn't find the module.

Do you have any idea why?

How can I approach figuring out why it does not appear?

I've used VirtualBox to create a TEST server and found that the module name appears there and can be installed. How can I find out why my ORIGINAL server has this problem?

0

Atul Arvind

--Atul Arvind--
1854
| 3 3 5
India
--Atul Arvind--

Hello, 

I am odoo Enthusiast/Consultant from Baroda, Gujarat, India. Working with odoo from v5 to v9 and other opensource technology since 4+ years. Having Strong Expertise in

Requirement gathering & Gap Analysis

Odoo Development

Odoo Customization

Odoo Training

Odoo Integration

Server Administration

Odoo Migration

Implementation

I am also active on StackOverflow.

or 


Atul Arvind
On 1/5/14, 6:49 AM

Please Do check your __openerp__.py file is proper or not. in that Please check weather module is installable or not.

{
...
      'installable': True,
...
}

If it seems good then you need to check the access rights for your module folder under addons. it should be executable. if it's not executable then give access rights using

sudo chmod 775 -R Module_name

it will work.

installable is true. Was not group executable; but, it is now. No difference... Search for "vet" gets "No module found!"

Moore Works, Dale E. Moore
on 1/5/14, 10:07 AM

Dear Dale, Since its availalbe in your Virtual Machine, then it can be access rights issue.

First, check the

  1. Acces right for the Folder.

  2. then Check the Acces rights for the __init__.py file and __openerp__.py file. These files may not be accessible for your server user account, with which you are running the
    OpenERP server.

Nisthulan
on 1/6/14, 12:26 AM

Everything is at least readable:

drwxr-xr-x 3 root root 4096 Jan 5 16:30 vet_clinic/

-rwxr-xr-x 1 root root 84 Jan 5 16:30 __init__.py*

-rwxr-xr-x 1 root root 490 Jan 5 16:30 __openerp__.py*

-rwxr-xr-x 1 root root 698 Jan 5 16:30 vetclinic.py*

-rwxr-xr-x 1 root root 2085 Jan 5 16:30 vetclinic_view.xml*

And chmod -R a+rwx vet_clinic/ didn't help.

Moore Works, Dale E. Moore
on 1/6/14, 8:38 AM
0
Nisthulan
On 1/5/14, 5:25 AM

Hello there,

Please verify the __openerp__.py is proper or not ? and the __init__.py file is present in the Folder ?

__init__.py: import vetclinic

Moore Works, Dale E. Moore
on 1/5/14, 10:05 AM

__openerp__.py: {

'name': 'Vet Clinic',
'version': '1.0',
'description': """
Vet Clinic Application
""",
'author': 'Greg',
'website': 'http://www.firstclasscomputerconsulting.com',
'depends': ['base_setup'],
'data':['vetclinic_view.xml',
],
'demo': [],
'installable': True,
'auto_install': False,
'installable': True,}
Moore Works, Dale E. Moore
on 1/5/14, 10:05 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/4/14, 5:49 PM
Seen: 2070 times
Last updated: 3/16/15, 8:10 AM