Skip to content

Commit

Permalink
[FIX] web: Adapt .o_form_view css selectors
Browse files Browse the repository at this point in the history
Before the form merge we had
```html
<o_action>
    <o_content>
        <o_form_view oe_form_configuration>
        </o_form_view oe_form_configuration>
    </o_content>
</o_action>
```

now we have

```html
<o_action o_form_view>
    <o_content>
        <oe_form_configuration>
        </oe_form_configuration>
    </o_content o_form_view>
</o_action>
```

So we have to adapt form_controllers.scss to match this new structure.

closes odoo#99280

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
  • Loading branch information
abz-odoo committed Aug 31, 2022
1 parent a8d7887 commit 31ae502
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/web/static/src/views/form/form_controller.scss
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ $o-form-label-margin-right: 0px;
}

// No sheet
&.o_form_nosheet, .o_form_nosheet {
.o_form_nosheet {
@include o-webclient-padding($top: $o-sheet-vpadding, $bottom: $o-sheet-vpadding);

.o_form_statusbar {
Expand Down Expand Up @@ -638,15 +638,15 @@ $o-form-label-margin-right: 0px;
display: none; // Hide the handler on readonly fields
}

&.oe_form_configuration {
.oe_form_configuration {
.o_group .o_form_label {
white-space: nowrap;
}
h2 {
margin-top: 32px !important;
}
}
&.o_company_document_layout {
.o_company_document_layout {
.report_layout_container {
display: inline-block;
div {
Expand Down

0 comments on commit 31ae502

Please sign in to comment.