[FIX] web: External Link

In the case of a One2many list view in a `<group>` tag, the 'External
Link' button of a Many2one field (which allows opening the form view) is
not visible.

The `flex: 1 0 auto;` should not be applied in the list view.

Corresponding PR in v12: #28741
opw-1903158

closes odoo/odoo#28812
This commit is contained in:
Nicolas Martinelli
2018-11-19 19:21:38 +00:00
parent cac9173122
commit 7e840a39a6
+2 -2
View File
@@ -359,13 +359,13 @@
}
}
:not(.o_row) > .o_field_widget,
:not(.o_row):not(.o_data_cell) > .o_field_widget,
.o_row > .o_field_widget:last-child { // Note: this does not take care
// of an invisible last-child but
// it does not really matter
// Makes extra buttons (e.g. m2o external button) overflow on the
// right padding of the parent element
.o_input_dropdown {
> .o_input_dropdown {
.o-flex(1, 0, auto);
}
}