跳至内容
菜单
此问题已终结
1 回复
3530 查看

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
9月 21
7628
1
8月 24
15029
2
1月 23
5651
2
12月 20
6438
2
7月 20
5120