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

i can't see my model in model list

__init__.py , __openerp__.py and lesson_view.xml is sure right, but i can't see my model

i copy a example from document alse don't work ...

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

In order for openERP to see your module, you have to place it in the /addons directory.

Within openERP, you go to Settings -> Update Module List

Now you go to Settings -> Installed modules

Remove the filter installed, and type the name of your own module. It should appear here.

When upgrading your module (specially when you have modified the python code), you have to restart openERP in order for openERP to see the changes. Or you restart the whole machine if that is quicker.

الصورة الرمزية
إهمال
الكاتب

thanks, but stiil did not appear

can you send me the code (zipped module)? I don't mind to have a look. mail: openerp at vandeneijk dot EU

الكاتب

i hava resolved the problem. There is some error in my __openerp__.py .
i use field 'init_xml' , 'update_xml' they don't play well, now i use 'date' .
Thank you all the same

المنشورات ذات الصلة الردود أدوات العرض النشاط
3
نوفمبر 24
30078
1
ديسمبر 21
2806
0
ديسمبر 21
2353
0
أبريل 15
4710
0
مارس 15
3820