mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_dialog_size: Migration to 18.0
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/web",
|
||||
"category": "web",
|
||||
"version": "17.0.1.0.0",
|
||||
"version": "18.0.1.0.0",
|
||||
"license": "AGPL-3",
|
||||
"depends": ["web"],
|
||||
"installable": True,
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
/** @odoo-module **/
|
||||
|
||||
import {ActionDialog} from "@web/webclient/actions/action_dialog";
|
||||
import {Component, onMounted} from "@odoo/owl";
|
||||
import {ActionDialog} from "@web/webclient/actions/action_dialog";
|
||||
import {Dialog} from "@web/core/dialog/dialog";
|
||||
import {SelectCreateDialog} from "@web/views/view_dialogs/select_create_dialog";
|
||||
import {patch} from "@web/core/utils/patch";
|
||||
@@ -19,7 +17,7 @@ export class ExpandButton extends Component {
|
||||
onMounted(() => {
|
||||
var self = this;
|
||||
this.config.then(function (r) {
|
||||
if (r.default_maximize && stop) {
|
||||
if (r.default_maximize) {
|
||||
self.dialog_button_extend();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
class="btn btn-secondary dialog_button_extend"
|
||||
t-on-click="dialog_button_restore"
|
||||
>
|
||||
<i class="fa fa-compress" />
|
||||
<i class="fa fa-window-restore" />
|
||||
</button>
|
||||
<button
|
||||
t-if="props.getsize() != 'dialog_full_screen'"
|
||||
@@ -15,7 +15,7 @@
|
||||
class="btn btn-secondary dialog_button_restore"
|
||||
t-on-click="dialog_button_extend"
|
||||
>
|
||||
<i class="fa fa-expand" />
|
||||
<i class="fa fa-window-maximize" />
|
||||
</button>
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user