summaryrefslogtreecommitdiff
path: root/addons/document/document_view.xml
diff options
context:
space:
mode:
authorNaresh Choksy <nch@tinyerp.com>2008-10-07 10:54:01 +0530
committerNaresh Choksy <nch@tinyerp.com>2008-10-07 10:54:01 +0530
commit7db9b82e79ac0e226a2bafc51942c8f4d31a872d (patch)
tree1f21e0ab84700cc756f8f809d117ab0b390940d2 /addons/document/document_view.xml
parent33c2901c0d79e5bd88515103558386729d51ec62 (diff)
Created a configuration wizard that explains you can connect on the server, port 8021.
This configuration wizard configures a structure by default, according to the modules installed: Sales / All Sales Order -> Connected to Sales order if module sale is installed -> + virtual file _print.pdf in directories that prints sales orders Sales by Salesman is sale is installed -> Level 1 is res.users -> Level 2 is sales order related to this active_id user Projects -> Connected to account.analytic.account if module account is installed with tree structure -> + Quotations, Meetings, Analisys Reports subdirs in each project,Personal Folders -> Connected to Users bzr revid: nch@tinyerp.com-20081007052401-3gf3nmdhrgxdqea3
Diffstat (limited to 'addons/document/document_view.xml')
-rw-r--r--addons/document/document_view.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml
index 9567637605c..5ae50b2f539 100644
--- a/addons/document/document_view.xml
+++ b/addons/document/document_view.xml
@@ -198,6 +198,44 @@
</field>
</record>
+
+ <record id="view_auto_config_form" model="ir.ui.view">
+ <field name="name">Auto Configure Directory</field>
+ <field name="model">auto.configuration</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Auto Configure">
+ <label string="" colspan="2"/>
+ <newline/>
+ <label string="Do you want to configure Directory Automatically ?" colspan="2"/>
+ <newline/>
+ <newline/>
+ <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>
+ <newline/>
+ <label string="You Can use ftp://admin:admin@localhost:8021 " colspan="2"/>
+ </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">auto.configuration</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="action_id" ref="action_config_auto_directory"/>
+ <field name="state">open</field>
+ </record>
+
</data>
</terp>