mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update
This commit is contained in:
@@ -132,6 +132,9 @@
|
||||
<span class="btn btn-default col-3 col-lg-2 text-left">Accounting</span>
|
||||
<button string="Delete All Voucher/Invoice/Bill" type="object" name="remove_account"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
|
|
||||
<button string="Clean and reset Account Chart" type="object" name="remove_account_chart"
|
||||
confirm="Please confirm to delete the select data?" class="oe_highlight"/>
|
||||
</div>
|
||||
<div class="col-12 col-lg-12 mb4">
|
||||
<span class="btn btn-default col-3 col-lg-2 text-left">Project</span>
|
||||
|
||||
@@ -14,4 +14,21 @@
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<record id="app_module_view_kanban" model="ir.ui.view">
|
||||
<field name="name">ir.module.module.kanban.inherit.base</field>
|
||||
<field name="model">ir.module.module</field>
|
||||
<field name="inherit_id" ref="base.module_view_kanban"/>
|
||||
<field name="arch" type="xml">
|
||||
<!--点击模块看详情-->
|
||||
<xpath expr="//div[@class='oe_module_vignette']" position="attributes" groups="app_odoo_customize.group_show_quick_upgrade">
|
||||
<attribute name="class">oe_module_vignette oe_kanban_global_click</attribute>
|
||||
</xpath>
|
||||
<!--显示快速升级-->
|
||||
<xpath expr="//div[@class='oe_module_action']" position="inside" groups="app_odoo_customize.group_show_quick_upgrade">
|
||||
<button type="object" class="btn btn-default btn-sm float-right" name="button_uninstall_wizard" states="installed">Uninstall</button>
|
||||
<button type="object" class="btn btn-success btn-sm float-right" name="button_immediate_upgrade" states="installed">Upgrade</button>
|
||||
</xpath>
|
||||
<xpath expr="//div[@class='oe_module_action']/a[@target='_blank']" position="replace" groups="app_odoo_customize.group_show_quick_upgrade"/>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user