Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
4940 Vizualizări

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.. :)

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

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

Autor

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

Autor Cel mai bun răspuns

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!

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mar. 15
4429
1
mar. 15
4277
3
dec. 23
29478
1
mar. 15
6691
1
mar. 15
3337