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