跳至內容
選單
此問題已被標幟
1 回覆
5121 瀏覽次數

I would like to remove security group from a website template elements with inheriting it. The elements that I want to remove groups are:

<t t-call-assets="web_editor.summernote" t-js="false" groups="website.group_website_publisher"/>
<t t-call-assets="web_editor.assets_editor" t-js="false" groups="website.group_website_publisher"/>

Can someone explain also what this t element attributes mean? especially t-js="false". 

頭像
捨棄
作者 最佳答案

OK I was removing it correctly with xpath but used primary="True" so it didn't replace in the inherited template. So I just removed that attribute and it worked.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
18
12月 22
36907
0
3月 19
5488
0
2月 19
4042
0
3月 17
3719
0
5月 23
8620