Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4927 มุมมอง

and it is show error massage below

ImportError: No module named 'models'


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ธ.ค. 18
8898
2
ก.พ. 18
4621
0
ต.ค. 17
5106
4
ต.ค. 17
4520
Can't create view (model not found) แก้ไขแล้ว
2
พ.ค. 23
7761