57 lines
2.2 KiB
XML
57 lines
2.2 KiB
XML
<openerp>
|
|
<data>
|
|
<record model="ir.actions.url" id="action_document_browse">
|
|
<field name="name">Browse Files</field>
|
|
<field name="url">ftp://localhost:8021/</field>
|
|
</record>
|
|
<menuitem
|
|
name="Browse Files Using FTP"
|
|
action="action_document_browse"
|
|
id="menu_document_browse"
|
|
type="url"
|
|
icon="STOCK_EXECUTE"
|
|
parent="document.menu_document"/>
|
|
|
|
|
|
|
|
|
|
<record id="view_auto_config_form" model="ir.ui.view">
|
|
<field name="name">Auto Configure Directory</field>
|
|
<field name="model">document.configuration.wizard</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Auto Configure">
|
|
<separator string="Document Management System." colspan="4"/>
|
|
<label string="This wizard will automatically configure the document management system according to modules installed on your system." align="0.0" colspan="4"/>
|
|
<field name="host" colspan="4"/>
|
|
<separator string="" colspan="4"/>
|
|
<label string="" colspan="2"/>
|
|
<group col="4" colspan="2">
|
|
<button special="cancel" string="Cancel" name="action_cancel" type="object" icon='gtk-cancel'/>
|
|
<button name="action_config" string="Configure" icon='gtk-ok' type="object"/>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_config_auto_directory" model="ir.actions.act_window">
|
|
<field name="name">Auto Configure Directory</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">document.configuration.wizard</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
<record model="ir.actions.todo" id="config_auto_directory">
|
|
<field name="name">Auto Configure Directory</field>
|
|
<field name="note">This wizard will configure the URL of the server of the document management system.</field>
|
|
<field name="action_id" ref="action_config_auto_directory"/>
|
|
</record>
|
|
|
|
|
|
|
|
</data>
|
|
</openerp>
|
|
|