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

and it is show error massage below

ImportError: No module named 'models'


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

Hi,

We cannot say that the module from v10 will get directly installed in v11. There is many changes in v11 . You can see the changes by looking this : https://www.odoo.com/forum/help-1/question/odoo11-what-are-the-points-or-tips-which-could-help-in-migration-from-v10-to-v11-127445#answer-127447

For your  case,  instead of

import models 

just try

 from . import models

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 18
8892
2
thg 2 18
4610
0
thg 10 17
5094
4
thg 10 17
4516
2
thg 5 23
7731