Skip to content
Snippets Groups Projects
Commit d9287caf authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[IMP] *: convert to private methods

render, render_template, load, activity_schedule_with_view,
get_website_pages should all be private:
It should not be possible to render an aribtrary template only with
its name or id

Still need to render some qweb views from js so the method
render_template is kept public.
This explains why the website editor still need read access on
ir.ui.view as we want to allow any snippet to be rendered.
parent 56a8c9e4
No related branches found
No related tags found
Loading
Showing
with 32 additions and 32 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment