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

I just tried to add reports to my modules and restarted openerp server and it gave error then i deleted all the report files i created and updated __openerp.py also. I even tried to delete module and then adding it to addons, cleared chache and restarted openerp server but it still gives the same error all the time. I am stuck now do i need to create it again from scratch?? Error is: ValueError: invalid literal for int() with base 10: 'False'

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

same module works in another database. why??

Câu trả lời hay nhất

Somehow the installation has an invalid construction, probably from your module. Somewhere you try to convert a value to int, which has the value False, instead of 0.

I have had the same issue myself, and fixed it by restoring a previous version of the DB and than install / upgrade my module after correcting my error.

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

but i didn't touch my module at all

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
4207
0
thg 3 15
3745
0
thg 3 15
3392
2
thg 3 15
7190
0
thg 3 15
2909