summaryrefslogtreecommitdiff
path: root/addons/document/document_view.xml
diff options
context:
space:
mode:
authorHarry (Open ERP) <hmo@tinyerp.com>2009-11-25 16:11:01 +0530
committerHarry (Open ERP) <hmo@tinyerp.com>2009-11-25 16:11:01 +0530
commite65f61d4920949bbcdff1577624d36422c9f5473 (patch)
tree0af70b10018a13ba75efb81bb93de051b2fe0bfb /addons/document/document_view.xml
parentbcddba076258a31df689eb63b8a8f35acfeffe89 (diff)
parentcc1d6a3c6c9918801d21857ee2ffab02a38bfb13 (diff)
[merge] merge with master branch
bzr revid: hmo@tinyerp.com-20091125104101-hjcdl5zsmq2zc0m5
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>