!12317 编辑按钮

Merge pull request !12317 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2026-07-03 08:26:27 +00:00
committed by Gitee
2 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
]
},
'demo': [],
'depends': ['hr', 'mail', 'base', 'survey', 'account', 'knowledge'],
'depends': ['hr', 'mail', 'base', 'survey', 'account'],
'installable': True,
'application': True,
}
@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<!-- 隐藏 knowledge 模块的"搜索知识文章"按钮 -->
<t t-name="Knowledge.FormView.HideSearch" t-inherit="Knowledge.FormView" t-inherit-mode="extension">
<xpath expr="//button[@class='o_knowledge_icon_search btn opacity-trigger-hover']" position="replace">
</xpath>
</t>
</templates>