mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_dialog_size: resize columns from one2many tree
TT36323
This commit is contained in:
@@ -57,6 +57,8 @@ odoo.define("web_dialog_size.web_dialog_size", function(require) {
|
||||
dialog.addClass("dialog_full_screen");
|
||||
dialog.find(".dialog_button_extend").hide();
|
||||
dialog.find(".dialog_button_restore").show();
|
||||
// Recompute o2m columns width if needed
|
||||
this.trigger_up("resize");
|
||||
},
|
||||
|
||||
_restore: function() {
|
||||
@@ -64,6 +66,8 @@ odoo.define("web_dialog_size.web_dialog_size", function(require) {
|
||||
dialog.removeClass("dialog_full_screen");
|
||||
dialog.find(".dialog_button_restore").hide();
|
||||
dialog.find(".dialog_button_extend").show();
|
||||
// Recompute o2m columns width if needed
|
||||
this.trigger_up("resize");
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user