mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
add website_sale_dashboard
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
</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_get_po" states="installed">Export Translation</button>
|
||||
<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>
|
||||
|
||||
@@ -12,5 +12,19 @@
|
||||
records.module_multi_uninstall()
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_server_module_multi_get_po" model="ir.actions.act_window">
|
||||
<field name="name">Export Translation</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="binding_model_id" ref="base.model_ir_module_module" />
|
||||
<field name="res_model">base.language.export</field>
|
||||
<field name="view_id" ref="base.wizard_lang_export"/>
|
||||
<field name="target">new</field>
|
||||
<field name="context">{
|
||||
'default_format': 'po',
|
||||
'default_modules': active_ids,
|
||||
}
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user