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
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:
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.
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
|Asked: 5/15/13, 5:24 AM|
|Seen: 3487 times|
|Last updated: 3/16/15, 8:10 AM|