Skip to content

Commit

Permalink
[FIX] web: External Link
Browse files Browse the repository at this point in the history
- Install Sales
- Go to Sales > Orders > Customers, 'Invoicing' tab
- Add a Bank Account

The 'External Link' button (which allows opening the form view) on the
bank account is not visible.

More generally, 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 v11: #28812
opw-1903158
  • Loading branch information
nim-odoo committed Nov 19, 2018
1 parent 5eb2fbd commit a8b33c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/web/static/src/scss/form_view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -343,13 +343,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 {
flex: 1 0 auto;
}
}
Expand Down

0 comments on commit a8b33c1

Please sign in to comment.