콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
9352 화면

i have odoo 8 windows setup

I installed one of odoo 8 modules:

https://apps.openerp.com/apps/modules/8.0/account_move_report/

and also account_financial_report_webkit

but when I am trying to print the journal voucher, or any other report using webkit(deprecated) report type,

I get this error:

coercing to Unicode: need string or buffer, bool found

<type 'exceptions.TypeError'>,coercing to Unicode: need string or buffer, bool found,<traceback object at 0x05E61C88>

아바타
취소
작성자 베스트 답변

thnx to your suggestion, but the underlying factor was webkit_path system parameter and because i am on windows based server, then converting path"\" to "/"

아바타
취소
베스트 답변

same problem with odoo 8 windows 7

아바타
취소
베스트 답변

Hai Faraz Zafar,


    Convert into string to unicode your error problem is resolved try this simple example


a = 1

b = 2

c = 3

title = u"""a=""" + str(a) + u""", b=""" + str(b) + u""", c=""" + str(c)

print title


Output: 

a=1, b=2, c=3

아바타
취소
베스트 답변

Faraz,

Have you solved the problem? i am also facing the same issue with odoo 8.

아바타
취소
관련 게시물 답글 화면 활동
0
3월 15
4148
1
10월 15
5316
0
3월 15
3377
2
4월 24
2257
11
12월 21
16200