Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2659 มุมมอง

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

we use V12 CE

regards


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง