summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/model.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/framework/model.js')
-rw-r--r--addons/web/static/src/js/framework/model.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/addons/web/static/src/js/framework/model.js b/addons/web/static/src/js/framework/model.js
index fc1422d799a..dd516bb61ba 100644
--- a/addons/web/static/src/js/framework/model.js
+++ b/addons/web/static/src/js/framework/model.js
@@ -6,14 +6,12 @@ var session = require('web.session');
var Model = Class.extend({
/**
- new openerp.web.Model([session,] model_name[, context[, domain]])
+ new openerp.web.Model(name[, context[, domain]])
@constructs instance.web.Model
@extends instance.web.Class
- @param {openerp.web.Session} [session] The session object used to communicate with
- the server.
- @param {String} model_name name of the OpenERP model this object is bound to
+ @param {String} name name of the OpenERP model this object is bound to
@param {Object} [context]
@param {Array} [domain]
*/