52 lines
2.2 KiB
XML
52 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="view_base_module_import" model="ir.ui.view">
|
|
<field name="name">Module Import</field>
|
|
<field name="model">base.module.import</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Import module" version="7.0">
|
|
<field name="state" invisible="1"/>
|
|
<separator string="Module Import" colspan="4"/>
|
|
<group states="init" col="4">
|
|
<label string="Select module package to import (.zip file):" colspan="4"/>
|
|
<field name="module_file" colspan="4"/>
|
|
</group>
|
|
<group states="done" col="4">
|
|
<label string="Module file successfully imported!" colspan="4"/>
|
|
</group>
|
|
<footer>
|
|
<button name="importzip" string="Import module" type="object" states="init" class="oe_highlight"/>
|
|
<label string="or" states="init"/>
|
|
<button name="action_module_open" string="Open Modules" type="object" states="done" class="oe_highlight"/>
|
|
<label string="or" states="done"/>
|
|
<button string="Cancel" class="oe_link" special="cancel"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_view_base_module_import" model="ir.actions.act_window">
|
|
<field name="name">Module Import</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">base.module.import</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
<!-- This feature is now deprecated, but may come back later.
|
|
<menuitem
|
|
name="Import Module"
|
|
action="action_view_base_module_import"
|
|
id="menu_view_base_module_import"
|
|
parent="menu_management"
|
|
groups="base.group_no_one"
|
|
sequence="1"/>
|
|
-->
|
|
|
|
</data>
|
|
</openerp>
|
|
|