[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#44587 X-original-commit: 61b7d53731623db42896f61a4c2772761d7892de Signed-off-by: Christophe Simonis <chs@odoo.com>
This commit is contained in:
@@ -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 && !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>
|
||||
|
||||
Reference in New Issue
Block a user