summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/data.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2015-06-17 10:07:48 +0200
committerqsm-odoo <qsm@odoo.com>2015-06-17 10:07:48 +0200
commitcc7fb1372dedb3fefa3afb328f1790c8451703bc (patch)
tree0e7130d83ede54ed5769d87a5c59bd532ee6e0c2 /addons/web/static/src/js/framework/data.js
parent6b5609174957b7dd1b7d1701a16b00e239c7e17c (diff)
parentac8148cfca1360982eacf1622e6a542eaca051bc (diff)
[MERGE] Update modals and calendar to new design
Add new modals (new Dialog class + FormViewDialog, SelectCreateDialog, ...) + adapt every call to old dialog classes Add new web_calendar (+ use of new modals for events) Adapt FieldCharDomain to new modals (+ add debug mode)
Diffstat (limited to 'addons/web/static/src/js/framework/data.js')
-rw-r--r--addons/web/static/src/js/framework/data.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/framework/data.js b/addons/web/static/src/js/framework/data.js
index efbce3a5056..597af06118d 100644
--- a/addons/web/static/src/js/framework/data.js
+++ b/addons/web/static/src/js/framework/data.js
@@ -542,8 +542,8 @@ var DataSet = Class.extend(mixins.PropertiesMixin, {
/**
* @param name
*/
- name_create: function(name) {
- return this._model.call('name_create', [name], {context: this.get_context()});
+ name_create: function(name, context) {
+ return this._model.call('name_create', [name], {context: this.get_context(context)});
},
exec_workflow: function (id, signal) {
return this._model.exec_workflow(id, signal);