font-weight: normal;
font-style: normal;
}
-
@font-face {
font-family: "EntypoRegular";
src: url("/web/static/src/font/entypo-webfont.eot") format("eot");
.openerp .oe-view-manager-header .oe-view-manager-search-view {
padding-top: 5px;
}
+.openerp .oe-view-manager-header .oe-view-manager-switch button {
+ width: 34px;
+}
.openerp .oe-view-manager-header .oe-view-manager-switch .oe-vm-switch-kanban:before {
content: "";
}
top: 0px;
}
}
-
.kitten-mode-activated {
background-size: cover;
background-attachment: fixed;
.oe-view-manager-search-view
padding-top: 5px
.oe-view-manager-switch
+ button
+ width: 34px
.oe-vm-switch-kanban:before
content: "\f009"
.oe-vm-switch-list:before
this.dialog_widget.setParent(this.dialog);
var initialized = this.dialog_widget.appendTo(this.dialog.$el);
this.dialog.open();
- return initialized;
+ return $.when(initialized);
}
if (this.inner_widget && this.webclient.has_uncommitted_changes()) {
return $.Deferred().reject();
if (!view) {
return $.Deferred().reject();
}
- if (view_type !== 'form') {
+ if ((view_type !== 'form') && (view_type !== 'diagram')) {
this.view_stack = [];
}
data: {action: JSON.stringify(action)},
complete: instance.web.unblockUI
});
+ } else {
+ self.do_warn("Warning", "No record selected.");
}
break;
case 'leave_debug':
margin: 0 0 0 2px;
}
-.openerp .oe_diagram_pager {
- float:right;
- /*text-align: right;*/
- white-space: nowrap;
-}
-
.openerp .oe_diagram_buttons {
float: left;
}
user-select: none;
}
+.oe-view-manager-switch .oe-vm-switch-diagram:before {
+ content: "";
+}
<template>
+
<t t-name="DiagramView.pager">
- <div class="oe_diagram_pager">
<t t-if="widget.options.pager !== false" t-call="ViewPager">
<span class="oe_diagram_pager_state"></span>
</t>
- </div>
</t>
+
<t t-name="DiagramView">
<div class="oe_diagram_header" t-att-id="widget.element_id + '_header'">
<h3 class="oe_diagram_title"/>