تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3588 أدوات العرض

I upload PDF content in v13 Community Edition and a download button appears in the public course viewer. In v13 Odoo demo (Enterprise), the download button does not appear. I cannot find a setting to change this. Is this only in Enterprise? My client does not wish to let students download the files.

الصورة الرمزية
إهمال
أفضل إجابة

Hi Bruce:

The icon is an anchor tag in the underlying view. You can customize the website_slides.embed_slide view by extending it using the following expression to make the download icon disappear.

<xpath expr="//a[@id='download']" position="replace"/>
الصورة الرمزية
إهمال
الكاتب

That worked very well! Thank you.

المنشورات ذات الصلة الردود أدوات العرض النشاط
4
سبتمبر 21
7700
1
أغسطس 24
15118
2
يناير 23
5755
2
ديسمبر 20
6511
2
يوليو 20
5199