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

creating simple module error

By
Rahmat Awaludin
on 5/8/13, 4:20 AM 1,025 views

My question solved, check my own answer below..

Hello All.. I'm learning to create module in openERP 7. So I found web_hello module on /usr/share/pyshared/openerp/addons directory. I duplicate it into web_hello2 and change 'name' in __openerp__.py into 'Web Hello 2'.

Following this guide http://acespritechblog.wordpress.com/2012/12/05/how-to-install-new-module-in-openerp-7-0/

I try to click on Installed Modules, after that remove the filter "Installed" and write 'Hello 2' but my module won't show up. Anyone have a solution? Thanks.. :)

0
Maath
On 5/8/13, 4:32 AM

You have to do following steps

1- setting ---->Modules----> Update

2- setting ---->Modules----> Update Module List

3- restart your computer or the server (log out then log in)

now you will found it if not retry steps 1 and 2

link for creat first module http://nicechirag.blogspot.in/2012/01/openerp-complete-guide-for-module.html

Already trying that. But, my module still not show up. Any idea?

Rahmat Awaludin
on 5/8/13, 5:47 AM

When You copy and past you need to change internal code of files ..... I think you need to read to learn how to write your first module

Maath
on 5/8/13, 6:16 AM

Thanks. But, i see your link is not for v7

Rahmat Awaludin
on 5/8/13, 6:55 AM

It is for V7 I try it and work for me ... you can create 4 files and put the code if you need and additional help I will give you But first try and try

Maath
on 5/8/13, 8:06 AM
0
Rahmat Awaludin
On 5/19/13, 6:06 AM

Finally i get my module working. Here is what I do:

  • Check the value of addons_path in configuration file located at /etc/openerp/openerp-server.conf
  • I get this value /usr/lib/pymodules/python2.7/openerp/addons
  • Then, i put my module there.
  • Update my module list
  • My new module show up! :)

Thanks everyone!

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

0 follower(s)

Stats

Asked: 5/8/13, 4:20 AM
Seen: 1025 times
Last updated: 3/16/15, 8:10 AM