This question has been flagged
2 Replies
3601 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.. :)

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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

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

Author

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

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

Author Best Answer

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!

Avatar
Discard