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

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

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

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.

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

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

Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 11 24
30150
1
thg 12 21
2878
0
thg 12 21
2382
0
thg 4 15
4732
0
thg 3 15
3846