Odoo Help

0

New module for OpenERP 7.0: module not found in list

By
Robert Plana
on 5/15/13, 5:24 AM 4,205 views

Hi everybody,

I am trying to install a new module which I developed recently but when I click on "Update Modules List" the module doesn't appear on the "Apps" list. I've copied my module in the folder /usr/share/pyshare/openerp/addons and I restart the openerp server, and that didn't work.

This module works perfectly for version 6.0. Could you please help me? I've been searching for hours the possible error but I cannot find it. Are there many changes between the two versions? Is there anybody who could give a module example that works for version 7.0?

Maybe I am not following the right steps in order to install the new module correctly.

Thanks in advance, Robert

7

ClueLogics Technologies Pvt. Ltd.

--ClueLogics Technologies Pvt. Ltd.--
6143
| 6 5 8
Delhi NCR, India
--ClueLogics Technologies Pvt. Ltd.--

 ClueLogics Technologies Pvt Ltd is a Software product and services provider. We are positioned to deliver robust, rapid and reliable Information Technology solutions that work. What we succeed upon is Technology and Technical Expertise. The industry review of ClueLogics has been commendable for the past years as most of its business comes from repeat orders by highly satisfied clients.

ClueLogics Technologies Pvt. Ltd.
On 5/15/13, 6:50 AM

Hey Mr. Tony

module can't find then:

check the permission for your module for your openerp user

you can give like:

chmod 770 -R /usr/share/pyshare/openerp/your_moule

thanks

2

Remya

--Remya--

5617
| 7 8 8
Thiruvananthapuram, India
--Remya--

Working as an Senior ODOO developer. http://in.linkedin.com/pub/remya-r/69/a23/298

Remya
On 5/15/13, 5:44 AM

Please try this path "usr/lib/pymodules/python2.7/openerp/addons"

Hi again,I copied my module in this path but it doesn't work yet. I don't understand what is happening. The permissions of the module's folder are just as the other modules. I deleted some modules form the main folder "usr/lib/pymodules/python2.7/openerp/addons" and it is detected, other rather not ¿? I am completely lost and I don't know what to do... :(

Robert Plana
on 5/16/13, 5:00 AM

ok then just download any openerp 7.0 modules. Try to install it.

Remya
on 5/16/13, 6:00 AM

Thanks for the information, do you know where I can downdload a module which I don't have in my addons folder yet? Thanks.

Robert Plana
on 5/16/13, 6:07 AM

Check out this

Remya
on 5/16/13, 6:17 AM
2

Anas Taji

--Anas Taji--
2223
| 6 7 8
Amman, Jordan
--Anas Taji--

Skype: anas.taji-sw

Email: anas.taji@smartway-jo.com

Anas Taji
On 5/15/13, 5:45 AM

You can't just copy & paste modules from version 6 to 7, as there is some differences. Try to rename __tinyerp__.py to __openerp__.py

Also you can take a look at the modules under addons to see other changes..%

An example for a good base module is the module IDEA.

Francesco OpenCode
on 5/15/13, 5:51 AM
0
Robert Plana
On 5/15/13, 9:35 AM

Hi everyone again,

First of all thank you for your quick answer. I tried all what you did:

  • chmod 770 -R /usr/share/pyshare/openerp/addons/your_moule
  • chmod 770 -R usr/lib/pymodules/python2.7/openerp/addons/your_moule
  • I already have the file __openerp__.py (for version 6.0.4 you need this file)

But it didn't work. I write here the code of the file __openerp__.py:

{

'name': 'Videoclub',
'version': '0.1',
'author' : 'OpenERP',
'category': 'Tools',
'summary': 'Videoclub',
'description':"""videoclub.""",
'author': 'OpenERP SA',
'depends': ['base', 'crm', 'product'],
'data': [
    'view/videoclub_view.xml', 
    'wizard/videoclub_films_hours_wizard.xml',
    'wizard/videoclub_films_reserve_wizard.xml',
],
'demo': [],
'test': [],  
'css': [],
'installable': True,
'application': True,
'auto_install': False,
'images': ['images/icon.png'],

}

And also the code of the file __init__.py:

import videoclub

import wizard

I compared my module with others and it looks exactly the same. Is there something with admin user that I should do and I might not know?

Thanks again in advance.

Robert

Did you check the access right of admin? Is Technical Feature checked in access right tab of admin?

Remya
on 5/16/13, 2:18 AM

Hi again,Yes I did check the "Technical Features" options and I doesn't work yet.

Robert Plana
on 5/16/13, 4:32 AM

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 5/15/13, 5:24 AM
Seen: 4205 times
Last updated: 3/16/15, 8:10 AM