mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix #I7TSC8 [app_web_enterprise]将新建按键移至左边
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//search">
|
||||
<searchpanel view_types="list,kanban,pivot,graph">
|
||||
<field name="status" enable_counters="1"/>
|
||||
<field name="state" enable_counters="1"/>
|
||||
<field name="invoice_status" enable_counters="1"/>
|
||||
<field name="partner_id" filter_domain="[('customer_rank','>', 0)]" limit="1000" enable_counters="1"/>
|
||||
<field name="team_id" enable_counters="1"/>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user