Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

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

By
Faraz Zafar
on 6/13/16, 8:22 PM 776 views

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>

0
Khurram
On 9/8/16, 2:15 AM

Faraz,

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

0
Faraz Zafar
On 6/15/16, 7:44 AM

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 "/"

0
kirubanidhi
On 6/14/16, 6:26 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/13/16, 8:22 PM
Seen: 776 times
Last updated: 9/8/16, 2:15 AM