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="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-10-04 14:33:36 +00:00
|
|
|
<form string="Import module">
|
|
|
|
<group col="8">
|
2010-11-03 15:24:55 +00:00
|
|
|
<group colspan="3" col="1">
|
2010-10-04 14:33:36 +00:00
|
|
|
<field name="config_logo" widget="image" width="220" height="130" nolabel="1" colspan="1"/>
|
|
|
|
<newline/>
|
2011-09-15 14:23:48 +00:00
|
|
|
<label width="220" string='This wizard helps you to import a new module to your OpenERP system.
|
|
|
|
After importing a new module you can install it by clicking on the button "Install" from the form view.'/>
|
2010-11-03 15:24:55 +00:00
|
|
|
<label width="220"/>
|
2011-09-15 14:23:48 +00:00
|
|
|
<label width="220" string="Please be patient, this operation may take a few minutes..."/>
|
2010-10-04 14:33:36 +00:00
|
|
|
<field name="state" invisible="1"/>
|
|
|
|
</group>
|
2010-11-03 15:24:55 +00:00
|
|
|
<separator orientation="vertical" rowspan="5"/>
|
2010-10-04 14:33:36 +00:00
|
|
|
<group colspan="4">
|
|
|
|
<separator string="Module Import" colspan="4"/>
|
2010-11-03 15:24:55 +00:00
|
|
|
<group states="init" col="4">
|
2010-10-04 14:33:36 +00:00
|
|
|
<label string="Select module package to import (.zip file):" colspan="4"/>
|
|
|
|
<field name="module_file" colspan="4"/>
|
|
|
|
</group>
|
2010-11-03 15:24:55 +00:00
|
|
|
<group states="done" col="4">
|
2010-10-04 14:33:36 +00:00
|
|
|
<label string="Module file successfully imported!" colspan="4"/>
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
<group colspan="8" col="8" states="init">
|
|
|
|
<separator string="" colspan="8"/>
|
|
|
|
<label colspan="6" width="220"/>
|
|
|
|
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
|
|
|
|
<button name="importzip" string="Import module" type="object" icon="gtk-apply"/>
|
|
|
|
</group>
|
|
|
|
<group colspan="8" col="8" states="done">
|
|
|
|
<separator string="" colspan="8"/>
|
|
|
|
<label colspan="6" width="220"/>
|
|
|
|
<button special="cancel" string="Close" icon="gtk-ok"/>
|
|
|
|
<button name="action_module_open" string="Open Modules" type="object" icon="gtk-go-forward"/>
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
</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"
|
2011-12-06 16:17:32 +00:00
|
|
|
groups="base.group_extended"
|
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>
|
|
|
|
|