2017-06-23 24 views
1

Wenn ich Export XLSX klicken auf dem Hauptbuch ich den Fehler: pyeval definiert nichtUncaught Reference: pyeval nicht definiert ist

enter image description here

eine Ahnung, wie kann ich mit umgehen es?

nach dem debug=assets auf der URL hinzugefügt Ich habe:

http://localhost:8069/web_pdf_preview/static/src/js/web_pdf_preview.js:117 
Retraçage : 
ReferenceError: pyeval is not defined 
    at Class.ir_actions_report_xml (http://localhost:8069/web_pdf_preview/static/src/js/web_pdf_preview.js:117:30) 
    at Class.ir_actions_report_xml (http://localhost:8069/web/static/src/js/framework/class.js:122:38) 
    at Class.do_action (http://localhost:8069/web/static/src/js/action_manager.js:672:33) 
    at Class.do_action (http://localhost:8069/web/static/src/js/framework/widget.js:409:37) 
    at Class.do_action (http://localhost:8069/web/static/src/js/framework/widget.js:409:37) 
    at Class.do_action (http://localhost:8069/web/static/src/js/framework/widget.js:409:37) 
    at Object.handler (http://localhost:8069/web/static/src/js/framework/view.js:97:29) 
    at Object.<anonymous> (http://localhost:8069/web/static/lib/jquery/jquery.js:3276:89) 
    at fire (http://localhost:8069/web/static/lib/jquery/jquery.js:3119:58) 
    at Object.fireWith [as resolveWith] (http://localhost:8069/web/static/lib/jquery/jquery.js:3231:49) 
+1

Fügen Sie 'debug = assets' in Ihre URL ein und versuchen Sie es erneut. Dann poste den Stack-Trace für uns zu sehen. –

+0

@GeorgeDaramouskas Ich habe die Stack-Trace hinzugefügt – m3asmi

Antwort

2

löste das Problem, indem Sie die Variable auf die Datei pyeval erklärt: web_pdf_preview/static/src/js/web_pdf_preview.js

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