Skip to Content
Menú
This question has been flagged
1 Respondre
2657 Vistes

how can i hide/remove the "load demo data" Link in the Settings Window?

we use V12 CE

regards


Avatar
Descartar
Best Answer

Hi,​

Add below code in your Qweb views .

<t t-extend="DashboardShare">
<t t-jquery=".o_web_settings_dashboard_force_demo" t-operation="replace"></t>
</t>

And load view from __manifest__.py file.

'qweb': [
'static/src/xml/*.xml',
],

Thanks

Avatar
Descartar