Files
odoo_source/odoo/addons/base/wizard/base_module_update_views.xml
T
Hiral Bhavsar 3cd7ed07a2 [IMP] *: remove 'view_type' on window actions.
The old tree views don't really exist anymore, this odd pseudo-flag to
dispatch between "list" and "tree" tree views has no reason to remain.

Task 1937686

closes odoo/odoo#31243

Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2019-06-17 11:34:17 +00:00

52 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="view_base_module_update" model="ir.ui.view">
<field name="name">Module Update</field>
<field name="model">base.module.update</field>
<field name="arch" type="xml">
<form string="Update Module List">
<field name="state" invisible="1"/>
<separator string="Module Update Result"/>
<group states="init">
<span class="o_form_label">Click on Update below to start the process...</span>
</group>
<group states="done" >
<field name="updated"/>
<field name="added" />
</group>
<footer>
<div states="init">
<button name="update_module" string="Update" type="object" class="btn-primary"/>
<button special="cancel" string="Cancel" class="btn-secondary"/>
</div>
<div states="done">
<button name="action_module_open" string="Open Apps" type="object" class="btn-primary"/>
<button special="cancel" string="Close" class="btn-secondary"/>
</div>
</footer>
</form>
</field>
</record>
<record id="action_view_base_module_update" model="ir.actions.act_window">
<field name="name">Module Update</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">base.module.update</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<menuitem
name="Update Apps List"
action="action_view_base_module_update"
id="menu_view_base_module_update"
groups="base.group_no_one"
parent="menu_management"
sequence="40"
icon="fa-exchange"/>
</data>
</odoo>