summaryrefslogtreecommitdiff
path: root/addons/document/document_view.xml
diff options
context:
space:
mode:
authornch@tinyerp.com <>2009-11-27 14:10:26 +0530
committernch@tinyerp.com <>2009-11-27 14:10:26 +0530
commit7d1b6aadb5c623689a39de61e6f31a96bb0981bf (patch)
treebd743a0d5e2d11744342f599b98e11f7cfd66f8f /addons/document/document_view.xml
parent4f78616ccc05d93985e95189bfa2bae2dbf0128d (diff)
parent87e6f1c79fa309d46a36173ac14956a9e3163198 (diff)
[MERGE]
bzr revid: nch@tinyerp.com-20091127084026-qmju10co18vkywrd
Diffstat (limited to 'addons/document/document_view.xml')
-rw-r--r--addons/document/document_view.xml108
1 files changed, 77 insertions, 31 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml
index 6ae89fdc2ac..6e570bb406a 100644
--- a/addons/document/document_view.xml
+++ b/addons/document/document_view.xml
@@ -243,40 +243,86 @@
</field>
</record>
+ <!-- initial ftp server address, port configuration -->
- <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="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"/>
+ <separator string="" colspan="4"/>
+ <label string="Choose the ftp server address and port. These values will be stored in the configuration file." align="0.0" colspan="4"/>
+ <field name="host" colspan="4"/>
+ <field name="suggested_host" colspan="4"/>
+ <field name="port" 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 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. These ftp server address and port will be stored in the configuration file.</field>
+ <field name="action_id" ref="action_config_auto_directory"/>
+ </record>
+
+ <!-- ftp server address, port configuration -->
+
+ <record id="view_config_form" model="ir.ui.view">
+ <field name="name">Configure FTP server address</field>
+ <field name="model">document.configuration.ftp_server.wizard</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="FTP Server Configuration">
+ <separator string="Document Management System." colspan="4"/>
+ <label string="This wizard will configure the ftp server address and port." align="0.0" colspan="4"/>
+ <label string="These values will be stored in the configuration file." align="0.0" colspan="4"/>
+ <field name="host" colspan="4"/>
+ <field name="suggested_host" colspan="4"/>
+ <field name="port" 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>
+ <group col="4" colspan="4">
+ <label string="Don't forget to restart the Open ERP server if you change these values !" align="0.0" colspan="4"/>
+ </group>
+ </form>
+ </field>
+ </record>
+
+ <record id="action_config_ftp_server" model="ir.actions.act_window">
+ <field name="name">Configure FTP server address</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">document.configuration.ftp_server.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>
+ <menuitem name="FTP Server Configuration"
+ id="menu_document_configuration_ftpserver"
+ action="action_config_ftp_server"
+ parent="menu_document_configuration"/>
</data>
</openerp>