[FIX] web_calendar: title of dialog

The title of the parent is located in the "title" field.

opw-666577
This commit is contained in:
Nicolas Martinelli
2016-01-25 17:55:43 +01:00
parent b22a22f811
commit faf781c550
+1 -1
View File
@@ -53,7 +53,7 @@ var QuickCreate = Dialog.extend({
return _t("Create");
}
var title = (_.isUndefined(parent.field_widget)) ?
(parent.string || parent.name) :
(parent.title || parent.string || parent.name) :
(parent.field_widget.string || parent.field_widget.name || '');
return _t("Create: ") + title;
},