summaryrefslogtreecommitdiff
path: root/doc/python3.rst
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2017-05-19 14:29:58 +0200
committerThibault Delavallée <tde@odoo.com>2017-07-17 18:06:37 +0200
commit62de570395c06f5a17cdbd4d19c468c5a09641e4 (patch)
tree35897a89d3d1f9374bfcae1d432070e56aae9551 /doc/python3.rst
parent0908cbd0e8032599f6cdbdafce5b72daaf970649 (diff)
[IMP] base, website: correctly use inheritance when creating qweb rendering context
Base render method now calls a prepare_qcontext method used to prepare the qweb context used for the rendering. Website override of ir_ui_view now simply inherits this method to add its own set of values instead of doing strange things with the base render override. Qweb context should be the same after this commit, i.e. containing a lot of duplicated things like a copy of the context. The only change is that user_id and res_company are now directly supported in base rendering instead of only in website version of rendering. Future commits will use those values.
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions