Bonjour à tous,
J’utilise odoo 8, et je souhaite utiliser le module account_financial_report_webkit, mais lors que je l’installe, et que je lance une impression, il me génère l’erreur suivante :
coercing to Unicode need string or buffer, bool found type 'exceptions.TypeError',coercing to Unicode need string or buffer, bool found,traceback object at 0x0636B710
J’ai vu que ce problème à déjà été traité sur un forum, mais la solution proposé n’a pas résolu mon problème. J’utilise account_financial_report_webkit pour odoo 8.
La solution proposé par le forum dont je parle demandait de modifié le fichier
account_financial_report_webkit / rapport / webkit_parser_header.py en y ajoutant le code suivant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
mod_path = get_module_path(module)

if not mod_path: return False

resource_path = os.path.join(mod_path, *args)

if os.environ.get('OS')=='Windows_NT':

resource_path = resource_path.replace('/','\\')

mod_path = mod_path.replace(module,'')

if os.path.isdir(mod_path):

# the module is a directory - ignore zip behavior

if os.path.exists(resource_path):

return resource_path

return False
mais je n'ai pas le fichier account_financial_report_webkit / rapport / webkit_parser_header.py

Quelqu’un peut-il m’indiquer une solution ? Merci d’avance.