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

new module installation problem

By
Umar Draz
on 8/17/15, 11:30 PM 613 views

Hi

I am running odoo 8 which I had clone from git using this

git clone https://github.com/odoo/odoo.git

Here is how i am running odoo

./odoo.py -r <dbuser> -w <dbpass> --db-filter='^%d'

Now I have created a module and save into addons directory and restart odoo. I also had update module list from web but my module is still not appear there, would you please help me what is the issue?

Br.

Umar

Please verify your addons pat.

Karthik Arumugam
on 8/18/15, 12:43 AM
Hi

I think you meant path?

[options]
addons_path = /home/odoo/odoo/openerp/addons,/home/odoo/odoo/addons

the above is my addons path

Br.

Umar



On Tue, Aug 18, 2015 at 9:43 AM, Karthik Arumugam <karthik.bect@gmail.com> wrote:

Please verify your addons pat.

--
Karthik Arumugam
Sent by Odoo S.A. using Odoo about Forum Post new module installation problem

Umar Draz
on 8/18/15, 2:18 AM
0
nikesh
On 5/9/16, 12:06 AM

Hi Umar,

Please have a look in file __openerp__.py. Make sure you set the attribute 'installable' as True.

0
Dr Obx
On 8/18/15, 3:18 AM

Gosh guys,

If you want inastall new module:

1. check is the path correct,

2. module is in correct location

3. module contain __init__.py, __openerp__.py, your_module.py (or just download ready to install module to make it simpler)

4. update modules list

5. remove filter in search bar to be able to see all possible modules then type the name of the module into the search bar (must be found)

6. install it clicking on INSTALL

Module example: here

If you still have a problem try place your module (or my module) directly in main 'addons' folder, update list and everything should be file :)

0
Umar Draz
On 8/18/15, 3:16 AM

Well the structure of module is ok, the problem is something else. If i simply remove the odoo folder as well as the database I am using and then clone again odoo from git and before start the odoo simple copy my module into addons folder then it appear on web interface.

But if I create any new module and copy into addons folder and restart the odoo and also update the module list then its not appearing there. I already mentioned i am using --db-filter='^%d' to start odoo.

Br.

Umar

0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 8/18/15, 2:55 AM

Umar,

To have any custom module, you must make sure:

1. The module resides into your addons-path,.

2. Your module has the __init__.py and __openerp__.py files.

3. Your class file is mentioned inside __init__.py.

Thanks.

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: 8/17/15, 11:30 PM
Seen: 613 times
Last updated: 5/9/16, 12:06 AM