تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4622 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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?

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

الكاتب

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

الكاتب أفضل إجابة

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!

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
4144
1
مارس 15
3985
3
ديسمبر 23
28985
1
مارس 15
6306
1
مارس 15
3129