diff options
| author | Mathieu Duckerts-Antoine <dam@odoo.com> | 2020-08-11 08:34:42 +0000 |
|---|---|---|
| committer | Mathieu Duckerts-Antoine <dam@odoo.com> | 2020-08-12 08:52:20 +0000 |
| commit | ae0d79f5c292b92c4f1a7e1c4c8d71168e3a0400 (patch) | |
| tree | 8a5bdeb70649839144a0ac46bd3ede768bd26b83 /addons/web/static/src/js/views/abstract_renderer_owl.js | |
| parent | e219aac56ad9687687187ffe099af2d797b6922c (diff) | |
[IMP] web: sample data in dashboard view
A previous commit has paved the way for displaying sample data in the
reporting views. The present commit brings the required changes in
community to have sample data in dashboard views.
Task ID: 2282196
Co-authored-by: Aaron Bohy <aab@odoo.com>
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/abstract_renderer_owl.js')
| -rw-r--r-- | addons/web/static/src/js/views/abstract_renderer_owl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/abstract_renderer_owl.js b/addons/web/static/src/js/views/abstract_renderer_owl.js index 78e0c097854..0c97159e294 100644 --- a/addons/web/static/src/js/views/abstract_renderer_owl.js +++ b/addons/web/static/src/js/views/abstract_renderer_owl.js @@ -41,7 +41,7 @@ odoo.define('web.AbstractRendererOwl', function () { * @see sampleDataTargets */ _suppressFocusableElements() { - if (!this.props.isSample) { + if (!this.props.isSample || this.props.isEmbedded) { const disabledEls = this.el.querySelectorAll(`.o_sample_data_disabled`); disabledEls.forEach(el => el.classList.remove('o_sample_data_disabled')); return; |
