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.
4 lines
40 B
Python
4 lines
40 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import ir_http
|