forked from Techsystech/web
[FIX] kanban mode for popup in Many2One fields on mobile
parent
ab32aaf1ce
commit
104e0f7885
|
@ -169,6 +169,9 @@ odoo.define("web_responsive", function (require) {
|
||||||
ViewDialogs.SelectCreateDialog.include({
|
ViewDialogs.SelectCreateDialog.include({
|
||||||
init: function () {
|
init: function () {
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
|
if (config.device.isMobile) {
|
||||||
|
this.viewType = "kanban";
|
||||||
|
}
|
||||||
this.on_clear =
|
this.on_clear =
|
||||||
this.options.on_clear ||
|
this.options.on_clear ||
|
||||||
function () {
|
function () {
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
|
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
|
||||||
|
|
||||||
@include media-breakpoint-down(sm) {
|
@include media-breakpoint-down(sm) {
|
||||||
|
.o_kanban_view {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.o_kanban_view.o_kanban_grouped {
|
.o_kanban_view.o_kanban_grouped {
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
Loading…
Reference in New Issue