Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3487 Tampilan

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.

Avatar
Buang
Jawaban Terbai

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"/>
Avatar
Buang
Penulis

That worked very well! Thank you.

Post Terkait Replies Tampilan Aktivitas
4
Sep 21
7570
1
Agu 24
15008
2
Jan 23
5593
2
Des 20
6378
2
Jul 20
5074