Commit Graph
6 Commits
Author SHA1 Message Date
Christophe Simonis 27987a54b4 [FIX] web: keep ir.http abstract 2016-07-04 13:48:18 +02:00
Aaron Bohy e7256058f2 [ADD] web: is_admin key of session_info into page source 2016-06-16 14:59:39 +02:00
Aaron Bohy d632679a72 [FIX] web: allow overriding webclient rendering context 2016-06-16 13:48:18 +02:00
Géry Debongnie f3fb0bfe29 [IMP] web_analytics: remove rpc to version_info
and put it serverside, in the session info.  This saves 1 rpc for every
connections.
2016-05-30 11:43:06 +02:00
Géry Debongnie fdb250942f [IMP] web: move currency rpc to session_info 2016-05-30 09:23:08 +02:00
Géry Debongnie 9c68bc7482 [REF] point_of_sale,web(site): move session info into page source
This commit introduces a mechanism to add information into the session
from a different module, without having to fetch it manually with a rpc.
This is intended to be used with small pieces of info required at the
start of the web client, such as currency informations.

To add information to the session, one can simply inherit from ir.http
and modify the session_info method.
2016-05-30 09:23:07 +02:00