Skip to Content
Menu
This question has been flagged
1 Reply
2453 Views

i have odoo v8 windows 7 setup

I installed one of odoo 8 modules:

account_financial_report_webkit

but when I am trying to print in pdf  report 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 0x079BAE90>
Avatar
Discard
Best Answer

The separator used in the report_file field in the report action is hard-coded and the create_single_pdf method located in webkit_parser_header_fix will try to split the report file path using the system path separator which will lead to a type error when using a windows platform.

You can fix it by replacing the system path separator (os.path.sep) with the hard-coded separator (/).

Avatar
Discard
Related Posts Replies Views Activity
2
Mar 15
6042
1
Mar 15
2939
2
Mar 15
8695
0
Nov 21
1213
4
Dec 20
8367