documentation/content/developer/reference/javascript/environment.rst
Simon Genin (ges) fd28f72c68 wip
2021-10-12 12:06:37 +02:00

33 lines
788 B
ReStructuredText

Environment
===========
Overview
--------
Each Owl application runs in a specific environment, which contains many (mostly)
global informations about the application. Odoo is no different, and adds a few
important data in the environment. Here is a description of its content:
Content
-------
.. list-table::
:header-rows: 1
* - Key
- Description
* - ``browser``
- list of `browser <browser.md>`_ entities with side effects
* - ``bus``
- main application bus
* - ``qweb``
- application current ``QWeb`` rendering engine
* - ``registries``
- object containing all relevant registries
* - ``services``
- values of all deployed `services <services/readme.md>`_
* - ``_t``
- eager `translation function <localization.md#_t>`_