跳至内容
菜单
此问题已终结
1 回复
3944 查看

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
11月 24
29986
1
12月 21
2740
0
12月 21
2315
0
4月 15
4610
0
3月 15
3747