Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
7978 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มิ.ย. 16
6531
0
เม.ย. 22
4903
0
ต.ค. 23
4842
1
ก.พ. 18
3457
0
ต.ค. 17
3526