Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
7943 Näkymät

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 ?

Avatar
Hylkää

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

Paras vastaus

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

Avatar
Hylkää

thanks its working ....

Paras vastaus

have you tried:

pip install pyeval

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
kesäk. 16
6511
0
huhtik. 22
4879
0
lokak. 23
4804
1
helmik. 18
3439
0
lokak. 17
3518