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">
|
2014-05-22 11:39:52 +00:00
|
|
|
<field name="name">Import Module</field>
|
2014-05-22 10:21:51 +00:00
|
|
|
<field name="model">base.import.module</field>
|
2010-08-26 10:18:50 +00:00
|
|
|
<field name="arch" type="xml">
|
2014-06-12 07:09:59 +00:00
|
|
|
<form string="Import module">
|
2012-07-16 20:35:12 +00:00
|
|
|
<field name="state" invisible="1"/>
|
2014-05-22 11:39:52 +00:00
|
|
|
<separator string="Import Module" colspan="4"/>
|
2012-07-16 20:35:12 +00:00
|
|
|
<group states="init" col="4">
|
|
|
|
<label string="Select module package to import (.zip file):" colspan="4"/>
|
|
|
|
<field name="module_file" colspan="4"/>
|
2014-06-11 07:55:17 +00:00
|
|
|
|
|
|
|
<field name="force"/>
|
2012-07-16 20:35:12 +00:00
|
|
|
</group>
|
|
|
|
<group states="done" col="4">
|
2014-05-26 15:26:19 +00:00
|
|
|
<field name="import_message" colspan="4" nolabel="1" readonly="1"/>
|
2012-07-16 20:35:12 +00:00
|
|
|
</group>
|
|
|
|
<footer>
|
2014-05-22 10:21:51 +00:00
|
|
|
<div states="init">
|
|
|
|
<button name="import_module" string="Import Module" type="object" class="oe_highlight"/> or
|
|
|
|
<button special="cancel" string="Cancel" class="oe_link"/>
|
|
|
|
</div>
|
|
|
|
<div states="done">
|
|
|
|
<button name="action_module_open" string="Open Modules" type="object" class="oe_highlight"/> or
|
|
|
|
<button special="cancel" string="Close" class="oe_link"/>
|
|
|
|
</div>
|
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">
|
2014-05-22 11:39:52 +00:00
|
|
|
<field name="name">Import Module</field>
|
2010-08-26 10:18:50 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
2014-05-22 10:21:51 +00:00
|
|
|
<field name="res_model">base.import.module</field>
|
2010-08-26 10:18:50 +00:00
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<menuitem
|
2010-10-04 14:33:36 +00:00
|
|
|
name="Import Module"
|
|
|
|
action="action_view_base_module_import"
|
|
|
|
id="menu_view_base_module_import"
|
2014-05-22 10:21:51 +00:00
|
|
|
parent="base.menu_management"
|
2012-04-25 08:12:50 +00:00
|
|
|
groups="base.group_no_one"
|
2014-05-22 11:42:57 +00:00
|
|
|
sequence="100"/>
|
2010-08-26 10:18:50 +00:00
|
|
|
|
|
|
|
</data>
|
2010-08-26 12:35:54 +00:00
|
|
|
</openerp>
|
|
|
|
|
2014-05-22 10:21:51 +00:00
|
|
|
|