This commit is contained in:
ivan deng
2018-11-08 03:33:51 +08:00
parent 98c9b20a8e
commit 92bf47f475
17 changed files with 281 additions and 160 deletions

View File

@@ -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>

View File

@@ -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>