diff options
| author | Damien Bouvy <dbo@odoo.com> | 2015-11-17 11:40:03 +0100 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2015-11-17 13:01:09 +0100 |
| commit | 07fe5afc874b9527eac5408d9adc53a9a700aad3 (patch) | |
| tree | d50b436b9f7b58a095a54aaa1a41253f4ddf0732 /addons/web/static/src | |
| parent | 22e94f5254a35fc20ca536ed1b5e6a6cf315e4c4 (diff) | |
[IMP] web: distinction between community and enterprise version in the js framework
It was bound to happen: some functionnality need to be triggered depending on the current edition of Odoo. To do this, we add a property 'version' on the global odoo object.
This change is mirrored on the enterprise repo.
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/boot.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/boot.js b/addons/web/static/src/js/boot.js index c63acb01bdf..6c0a4a305aa 100644 --- a/addons/web/static/src/js/boot.js +++ b/addons/web/static/src/js/boot.js @@ -51,6 +51,7 @@ testing: typeof QUnit === "object", debug: debug, remaining_jobs: jobs, + version: "community", __DEBUG__: { get_dependencies: function (name, transitive) { |
