2010-08-26 10:18:50 +00:00
|
|
|
<?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">
|
2012-06-19 09:26:06 +00:00
|
|
|
<form string="Import module" version="7.0">
|
2012-07-16 20:35:12 +00:00
|
|
|
<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>
|
2012-06-29 08:30:14 +00:00
|
|
|
<button name="importzip" string="Import module" type="object" states="init" class="oe_highlight"/>
|
2012-06-28 13:44:38 +00:00
|
|
|
<label string="or" states="init"/>
|
2012-06-29 08:30:14 +00:00
|
|
|
<button name="action_module_open" string="Open Modules" type="object" states="done" class="oe_highlight"/>
|
2012-06-28 13:44:38 +00:00
|
|
|
<label string="or" states="done"/>
|
2012-06-27 14:09:53 +00:00
|
|
|
<button string="Cancel" class="oe_link" special="cancel"/>
|
2012-07-16 20:35:12 +00:00
|
|
|
</footer>
|
2010-10-04 14:33:36 +00:00
|
|
|
</form>
|
2010-08-26 10:18:50 +00:00
|
|
|
</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>
|
|
|
|
|
2012-01-13 14:06:47 +00:00
|
|
|
<!-- This feature is now deprecated, but may come back later.
|
2010-08-26 10:18:50 +00:00
|
|
|
<menuitem
|
2010-10-04 14:33:36 +00:00
|
|
|
name="Import Module"
|
|
|
|
action="action_view_base_module_import"
|
|
|
|
id="menu_view_base_module_import"
|
|
|
|
parent="menu_management"
|
2012-04-25 08:12:50 +00:00
|
|
|
groups="base.group_no_one"
|
2010-10-04 14:33:36 +00:00
|
|
|
sequence="1"/>
|
2012-01-13 14:06:47 +00:00
|
|
|
-->
|
2010-08-26 10:18:50 +00:00
|
|
|
|
|
|
|
</data>
|
2010-08-26 12:35:54 +00:00
|
|
|
</openerp>
|
|
|
|
|