[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:
@@ -51,6 +51,7 @@
|
||||
testing: typeof QUnit === "object",
|
||||
debug: debug,
|
||||
remaining_jobs: jobs,
|
||||
version: "community",
|
||||
|
||||
__DEBUG__: {
|
||||
get_dependencies: function (name, transitive) {
|
||||
|
||||
Reference in New Issue
Block a user