Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4912 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Tác giả

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

Tác giả Câu trả lời hay nhất

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!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
4406
1
thg 3 15
4268
3
thg 12 23
29439
1
thg 3 15
6673
1
thg 3 15
3328