Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3337 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Autor

That worked very well! Thank you.

Publicaciones relacionadas Respuestas Vistas Actividad
4
sept 21
7241
1
ago 24
14743
2
ene 23
5291
2
dic 20
6146
2
jul 20
4798