diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-02-25 12:16:03 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-02-27 10:28:30 +0000 |
| commit | f74ab64df7a8bd8e6d91e80b848d361bbcb3b011 (patch) | |
| tree | 12cc4e8917db176b1aff9e025ff58281ed80d2e3 | |
| parent | 9a7858efe1e93e60583107136470c88bc6f307f6 (diff) | |
[FIX] web: do not show BS deprecation warnings
Part of https://github.com/odoo/odoo/pull/31401
task-1944790
| -rw-r--r-- | addons/web/static/src/scss/bs_mixins_overrides.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/bs_mixins_overrides.scss b/addons/web/static/src/scss/bs_mixins_overrides.scss index 0a5aa962be7..f828ccded37 100644 --- a/addons/web/static/src/scss/bs_mixins_overrides.scss +++ b/addons/web/static/src/scss/bs_mixins_overrides.scss @@ -3,6 +3,10 @@ // Those will affect the way bootstrap is generated wherever bootstrap is used //------------------------------------------------------------------------------ +// This variable must be defined here instead of bootstrap overridden files +// otherwise we will have deprecation messages for assets_common generation +$enable-deprecation-messages: false !default; + // Override color-yiq function to handle the alpha component of colors and // automatic threshold @function color-yiq($color, $dark: $yiq-text-dark, $light: $yiq-text-light, $background: $body-bg, $cross-mix: true) { |
