Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3674 Представления

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

Аватар
Отменить

Please post the logs.

Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
дек. 20
3392
2
мар. 15
7040
2
мар. 15
9583
0
нояб. 21
2187
4
дек. 20
9514