Remove window_name on Action Window

issue5611
review25381002
This commit is contained in:
Sergi Almacellas Abellana committed 2016-06-08 10:35:54 +02:00
1 parent bcfe1e7910
commit 3430bc4d2d
2 files changed
+2 -7

No files matched your search

+1 -4
View File
@@ -79,10 +79,7 @@
params.tab_domain.push(
[element[0], decoder.decode(element[1])]);
});
params.name = false;
if (action.window_name) {
params.name = action.name;
}
params.name = action.name;
params.model = action.res_model || data.res_model;
params.res_id = action.res_id || data.res_id;
params.context_model = action.context_model;
+1 -3
View File
@@ -242,10 +242,8 @@
if (attributes.string) {
this.title.html(attributes.string);
} else if (this.action.window_name !== undefined) {
this.title.html(this.action.name);
} else {
this.title.html(this.screen.current_view.title);
this.title.html(this.action.name);
}
this.screen.switch_view().done(function() {
this.body.append(this.screen.screen_container.el);