目的:想要隐藏原生导入模版的 导入FAQ标签 ,所在模块为base_import,想在自己的模块隐藏掉它
解决方法:在自己定义的模块中的static/src/xml中定义XML文件如下
<?xml version="1.0" encoding="UTF-8"?>
<template id="update_faq" xml:space="preserve">
<t t-extend="ImportView">
<t t-jquery="div.o_nocontent_help>a" t-operation="replace">
</t>
</t>
</template>
t-extend指向的为t-name,实测不可写成base_import.ImportView,
t-jquery指向的是 包含目标元素的标签.类名>元素标签