Skip to content

Commit

Permalink
[FIX] l10n_ch: ignore stylistic background
Browse files Browse the repository at this point in the history
If user choose custom report type with background, we don't want the
background on the ISR report that is intended to be printed on
preprinted paper.

opw-1820123
closes #23743
  • Loading branch information
nle-odoo committed Mar 20, 2018
1 parent 84db2dc commit 3f5663e
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions addons/l10n_ch/static/src/less/report_isr.less
Expand Up @@ -19,12 +19,18 @@ body.l10n_ch_isr {
}
}
}
}

/* content outside isr needs margins to not overlap header */
body.l10n_ch_isr #content_outside_isr {
padding: 15px;
padding-top: 150px;
/* content outside isr needs margins to not overlap header */
#content_outside_isr {
padding: 15px;
padding-top: 150px;
}

/* ISR is intended for pre-printed paper, we don't want stylistic background */
.o_report_layout_background {
background: none;
min-height: 0;
}
}

body.l10n_ch_isr #isr {
Expand Down

0 comments on commit 3f5663e

Please sign in to comment.