Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
8002 Lượt xem

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 ?

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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');

Ảnh đại diện
Huỷ bỏ

thanks its working ....

Câu trả lời hay nhất

have you tried:

pip install pyeval

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 16
6545
0
thg 4 22
4915
0
thg 10 23
4848
1
thg 2 18
3459
0
thg 10 17
3527