mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix odoo customize
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
<field name="name">ir.module.addons.path.tree</field>
|
||||
<field name="model">ir.module.addons.path</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree>
|
||||
<list>
|
||||
<field name="name"/>
|
||||
<field name="path"/>
|
||||
</tree>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
groups="base.group_system" invisible="state != 'installed'">Upgrade</button>
|
||||
</xpath>
|
||||
<!--显示导出翻译-->
|
||||
<xpath expr="//t[@t-name='kanban-menu']" position="inside">
|
||||
<xpath expr="//t[@t-name='menu']" position="inside">
|
||||
<a t-if="installed" name="%(app_odoo_customize.action_server_module_multi_get_po)d" type="action" role="menuitem" class="dropdown-item">Export Translation</a>
|
||||
<a t-if="installed" name="%(app_odoo_customize.action_server_module_multi_refresh_po)d" type="action" role="menuitem" class="dropdown-item">Refresh Translation</a>
|
||||
</xpath>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<field name="model">ir.ui.menu</field>
|
||||
<field name="inherit_id" ref="base.edit_menu"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//tree" position="attributes">
|
||||
<xpath expr="//list" position="attributes">
|
||||
<attribute name="multi_edit">1</attribute>
|
||||
</xpath>
|
||||
<field name="complete_name" position="after">
|
||||
|
||||
Reference in New Issue
Block a user