summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/compatibility.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/compatibility.js')
-rw-r--r--addons/web/static/src/js/compatibility.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/web/static/src/js/compatibility.js b/addons/web/static/src/js/compatibility.js
index 5532c8c388e..7fa2d4733db 100644
--- a/addons/web/static/src/js/compatibility.js
+++ b/addons/web/static/src/js/compatibility.js
@@ -22,7 +22,6 @@ var form_relational = require('web.form_relational'); // necessary
var form_widgets = require('web.form_widgets'); // necessary
var framework = require('web.framework');
var ListView = require('web.ListView');
-var Menu = require('web.Menu');
var Model = require('web.DataModel');
var pyeval = require('web.pyeval');
var Registry = require('web.Registry');
@@ -96,7 +95,6 @@ openerp.web.FormView = FormView;
openerp.web.json_node_to_xml = utils.json_node_to_xml;
openerp.web.ListView = ListView;
-openerp.web.Menu = Menu;
openerp.web.Model = Model;
openerp.web.normalize_format = time.strftime_to_moment_format;
openerp.web.py_eval = pyeval.py_eval;
@@ -208,7 +206,7 @@ ListView.include({
}).value();
}
- return this._super(data);
+ return this._super();
},
/**
* Returns the style for the provided record in the current view (from the