Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5120 Lượt xem

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". 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
18
thg 12 22
36907
0
thg 3 19
5488
0
thg 2 19
4040
0
thg 3 17
3719
0
thg 5 23
8619