mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_responsive: Migration to 16.0
Fix for optional dropdown checkbox in list view Made Changes for compatibility with web_chatter_position module Fix for attachment delete dialog
This commit is contained in:
committed by
Taras Shabaranskyi
parent
fa5e79acc1
commit
475d01f68a
14
web_responsive/static/src/views/form/form_controller.esm.js
Normal file
14
web_responsive/static/src/views/form/form_controller.esm.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/** @odoo-module */
|
||||
/* Copyright 2023 Onestein - Anjeel Haria
|
||||
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
|
||||
|
||||
import {patch} from "@web/core/utils/patch";
|
||||
import {FormController} from "@web/views/form/form_controller";
|
||||
|
||||
// Patch FormController to always load attachment alongwith the chatter on the side bar
|
||||
patch(FormController.prototype, "web_responsive.FormController", {
|
||||
setup() {
|
||||
this._super();
|
||||
this.hasAttachmentViewerInArch = false;
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user