Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3648 Tampilan

Hi, I have problem when use tag <% %> webkit report on openerp 80 I get error when use that tag . Anyone can help me for fix this problem? Thx u

Avatar
Buang

Please post the logs.

Jawaban Terbai

I found this note on addons\report_webkit\webkit_report.py    

# We use a jinja2 sandboxed environment to render mako templates.
    # Note that the rendering does not cover all the mako syntax, in particular
    # arbitrary Python statements are not accepted, and not all expressions are
    # allowed: only "public" attributes (not starting with '_') of objects may
    # be accessed.
    # This is done on purpose: it prevents incidental or malicious execution of
    # Python code that may break the security of the server.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Des 20
3386
2
Mar 15
7021
2
Mar 15
9543
0
Nov 21
2172
4
Des 20
9501