diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-11-19 19:12:03 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2018-11-19 19:21:38 +0000 |
| commit | 7e840a39a6e978db718413febf22c71a2dbeba0f (patch) | |
| tree | 0a3c6c6070260642ae54ab274871514c3e6f053b /addons/web/static/src | |
| parent | cac91731221b5ac122ad745ac408b406d335e5c7 (diff) | |
[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
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/less/form_view.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/less/form_view.less b/addons/web/static/src/less/form_view.less index be931ccbc0c..c0bb80b7a12 100644 --- a/addons/web/static/src/less/form_view.less +++ b/addons/web/static/src/less/form_view.less @@ -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); } } |
