fix #I7TSC8 [app_web_enterprise]将新建按键移至左边

This commit is contained in:
Ivan Office
2023-08-16 21:15:08 +08:00
parent 8226b8e732
commit 94efb4ca85
2 changed files with 10 additions and 1 deletions

View File

@@ -18,4 +18,13 @@
Discard
</xpath>
</t>
<!-- 创建移到左边-->
<t t-name="app_web_enterprise.FormControlPanel" t-inherit="web.FormControlPanel" t-inherit-mode="extension">
<xpath expr="//div[hasclass('o_cp_bottom_right')]//t[3]" position="replace"/>
<!-- <xpath expr="//t[t-slot='control-panel-create-button']" position="replace"/>-->
<!-- <xpath expr="//div[hasclass('o_cp_top_left')]" position="replace"/>-->
<xpath expr="//div[hasclass('o_cp_top_left')]" position="inside">
<t t-slot="control-panel-create-button" />
</xpath>
</t>
</templates>