تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4 الردود
9188 أدوات العرض

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
مارس 15
3999
1
أكتوبر 15
5224
0
مارس 15
3238
2
أبريل 24
2065
11
ديسمبر 21
16034