跳至內容
選單
此問題已被標幟
3 回覆
8005 瀏覽次數

In the version 10.0

When I click Export XLSX on the General Ledger I get the error : pyeval is not defined


\screenshot from 2017-06-23 11-40-12


What does the error means ?
how can I fix it ?

頭像
捨棄

where you got this "Export XLSX" in the report? did you installed any module to export report in xlsx?

最佳答案

I have the same problem and got the exact error by adding debug=assets on the url. The issue in module I have installed named "web_pdf_preview".
I have solved my problem by declaring the variable pyeval on the file: web_pdf_preview/static/src/js/web_pdf_preview.js

var pyeval = require('web.pyeval');

頭像
捨棄

thanks its working ....

最佳答案

have you tried:

pip install pyeval

if you're using virtualenv you have to launch it inside virtual env.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
6月 16
6552
0
4月 22
4923
0
10月 23
4849
1
2月 18
3459
0
10月 17
3528