[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.
This commit is contained in:
Damien Bouvy
2015-11-17 13:01:09 +01:00
parent 22e94f5254
commit 07fe5afc87
+1
View File
@@ -51,6 +51,7 @@
testing: typeof QUnit === "object",
debug: debug,
remaining_jobs: jobs,
version: "community",
__DEBUG__: {
get_dependencies: function (name, transitive) {