ubuntu - I can't find my module in odoo 8 -


my goal customize hr module of odoo 8.

my odoo 8 installed on ubuntu machine.

i create new module in addons-path (/opt/odoo/odoo-server/addons ) follow command :

odoo.py scaffold hr_customization /opt/odoo/odoo-server/addons

i change owner of folder odoo.

this __init__.py file

# -*- coding: utf-8 -*- import hr_customization import controllers import models 

and __openerp__.py file

# -*- coding: utf-8 -*- { 'name': "hr_customization",  'summary': """     customize hr module""",  'description': """     long description of module's purpose """,  'author': "medios", 'website': "http://www.medios.com",  # categories can used filter modules in modules listing # check    https://github.com/odoo/odoo/blob/master/openerp/addons/base/module/module_data.xml # full list 'category': 'uncategorized', 'version': '0.1',  # module necessary 1 work correctly 'depends': ['hr',],  # loaded 'data': [     # 'security/ir.model.access.csv',     'templates.xml', ], # loaded in demonstration mode 'demo': [     'demo.xml', ], } 

from setting, checked technical feature, then, update modules list, when search module nothing!

thanks help!

for me sounds, additional addons folder isnot in openerp-server.conf

/opt/odoo/odoo-server/addons isnt default addons path

try start server ../odoo.py ---addons-path /opt/odoo/odoo-server/addons

or input path openerp-server.conf addons_path=/opt/odoo/addons/,/opt/odoo/odoo-server/addons/

after writing openerp-server.conf restart server ../odoo.py -c openerp-server.conf optional can directly update module in special db ../odoo.py -c openerp-server.conf -d your-db -u your-custom-module


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -