Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
10
web_responsive/static/src/views/form/form_controller.scss
Executable file
10
web_responsive/static/src/views/form/form_controller.scss
Executable file
@@ -0,0 +1,10 @@
|
||||
/* Copyright 2023 Tecnativa - Carlos Roca
|
||||
* Copyright 2023 Taras Shabaranskyi
|
||||
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
|
||||
|
||||
// Many2one li items with wrap
|
||||
.o_field_many2one_selection {
|
||||
.o-autocomplete--dropdown-menu .ui-menu-item-wrapper {
|
||||
white-space: initial;
|
||||
}
|
||||
}
|
||||
12
web_responsive/static/src/views/form/form_renderer.esm.js
Executable file
12
web_responsive/static/src/views/form/form_renderer.esm.js
Executable file
@@ -0,0 +1,12 @@
|
||||
/* Copyright 2024 Taras Shabaranskyi
|
||||
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
|
||||
|
||||
import {patch} from "@web/core/utils/patch";
|
||||
import {FormRenderer} from "@web/views/form/form_renderer";
|
||||
|
||||
export const unpatchDisableFilePreview = patch(FormRenderer.prototype, {
|
||||
/** @returns {Boolean}*/
|
||||
hasFile() {
|
||||
return false;
|
||||
},
|
||||
});
|
||||
22
web_responsive/static/src/views/form/form_statusbar.scss
Executable file
22
web_responsive/static/src/views/form/form_statusbar.scss
Executable file
@@ -0,0 +1,22 @@
|
||||
/* Copyright 2023 Taras Shabaranskyi
|
||||
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
|
||||
|
||||
.o_xxl_form_view {
|
||||
.o_form_sheet_bg {
|
||||
overflow: unset;
|
||||
|
||||
.o_form_sheet {
|
||||
overflow: auto;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: $o-brand-odoo;
|
||||
border-radius: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
web_responsive/static/src/views/form/status_bar_buttons.xml
Executable file
16
web_responsive/static/src/views/form/status_bar_buttons.xml
Executable file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright 2023 Taras Shabaranskyi
|
||||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
||||
-->
|
||||
<templates>
|
||||
<t
|
||||
t-name="web_responsive.StatusBarButtons"
|
||||
t-inherit="web.StatusBarDropdownItems"
|
||||
t-inherit-mode="extension"
|
||||
>
|
||||
<xpath expr="//DropdownItem" position="attributes">
|
||||
<attribute name="hotkey">'shift+a'</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
</templates>
|
||||
Reference in New Issue
Block a user