Skip to content
Snippets Groups Projects
Commit 61b7d537 authored by Olivier Dony's avatar Olivier Dony
Browse files

[FIX] base_setup: show demo data button only in debug mode

During the port to 13.0 and the new Settings dashboard,
the "Load demo data" button visibility condition was reversed.

Cfr #34290 or https://github.com/odoo/odoo/pull/34290/files#diff-e5df7b873d03867c9527da957b762802L131



closes odoo/odoo#44526

Signed-off-by: default avatarChristophe Simonis <chs@odoo.com>
parent d3822883
Branches
Tags
No related merge requests found
......@@ -10,7 +10,7 @@
<a t-if="!widget.isAssets" class="d-block" href="?debug=assets">Activate the developer mode (with assets)</a>
<a t-if="!widget.isTests" class="d-block" href="?debug=assets,tests">Activate the developer mode (with tests assets)</a>
<a t-if="widget.isDebug" class="d-block" href="?debug=">Deactivate the developer mode</a>
<a t-if="!widget.isDebug &amp;&amp; !widget.demo_active" class="o_web_settings_force_demo" href="#">Load demo data</a>
<a t-if="widget.isDebug and !widget.demo_active" class="o_web_settings_force_demo" href="#">Load demo data</a>
</div>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment