summaryrefslogtreecommitdiff
path: root/addons/project/project_installer.xml
diff options
context:
space:
mode:
authoraag (OpenERP) <aag@tinyerp.co.in>2011-05-02 14:21:55 +0530
committeraag (OpenERP) <aag@tinyerp.co.in>2011-05-02 14:21:55 +0530
commit25dec3ff0a4fa8cccf14e3b1e1d738cfeaa0f56b (patch)
tree3c2f9b26b7f2b57c01b780cc497900fa257012da /addons/project/project_installer.xml
parentf997cb6698ad98ee2c22484946b45b6b9a664b7c (diff)
[IMP]Project :Remove Project Application Configuration Wiz and inherit it to INstall Appl wiz
bzr revid: aag@tinyerp.co.in-20110502085155-2d9o4yo2l5yl2npl
Diffstat (limited to 'addons/project/project_installer.xml')
-rw-r--r--addons/project/project_installer.xml57
1 files changed, 14 insertions, 43 deletions
diff --git a/addons/project/project_installer.xml b/addons/project/project_installer.xml
index c704a980000..af97fff5018 100644
--- a/addons/project/project_installer.xml
+++ b/addons/project/project_installer.xml
@@ -3,56 +3,27 @@
<record id="view_project_installer" model="ir.ui.view">
<field name="name">project.installer.view</field>
- <field name="model">project.installer</field>
+ <field name="model">base.setup.installer</field>
<field name="type">form</field>
- <field name="inherit_id" ref="base.res_config_installer"/>
+ <field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
<field name="arch" type="xml">
<data>
- <form position="attributes">
- <attribute name="string">Project Application Configuration</attribute>
- </form>
- <separator string="title" position="attributes">
- <attribute name="string">Configure Your Project Management Application</attribute>
- </separator>
- <xpath expr='//separator[@string="vsep"]' position='attributes'>
- <attribute name='string'></attribute>
- </xpath>
- <xpath expr="//label[@string='description']" position="attributes">
- <attribute name="string">Various OpenERP applications are available to manage your projects with different level of control and flexibility.</attribute>
- </xpath>
- <xpath expr="//button[@string='Install Modules']" position="attributes">
- <attribute name="string">Configure</attribute>
- </xpath>
- <group colspan="8">
- <field name="project_issue"/>
- <field name="project_long_term" groups="base.group_extended"/>
- <field name="hr_timesheet_sheet"/>
- <field name="project_timesheet"/>
- <field name="account_budget" groups="base.group_extended"/>
+ <xpath expr="//field[@name='product_expiry']" position="after">
<newline/>
- <separator string="Methodologies" colspan="4"/>
- <field name="project_scrum"/>
- <field name="project_gtd"/>
- </group>
+ <group attrs="{'invisible': [('project', '=', False)]}" colspan="4">
+ <separator string="Project Management Detail" colspan="4" />
+ </group>
+ <field name="project_issue" attrs="{'invisible':[('project','=',False)]}"/>
+ <field name="project_long_term" groups="base.group_extended" attrs="{'invisible':[('project','=',False)]}"/>
+ <field name="hr_timesheet_sheet" attrs="{'invisible':[('project','=',False)]}"/>
+ <field name="project_timesheet" attrs="{'invisible':[('project','=',False)]}"/>
+ <field name="account_budget" groups="base.group_extended" attrs="{'invisible':[('project','=',False)]}"/>
+ <field name="project_scrum" attrs="{'invisible':[('project','=',False)]}"/>
+ <field name="project_gtd" attrs="{'invisible':[('project','=',False)]}"/>
+ </xpath>
</data>
</field>
</record>
- <record id="action_project_installer" model="ir.actions.act_window">
- <field name="name">Project Application Configuration</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">project.installer</field>
- <field name="view_id" ref="view_project_installer"/>
- <field name="view_type">form</field>
- <field name="view_mode">form</field>
- <field name="target">new</field>
- </record>
-
- <record id="project_installer_todo" model="ir.actions.todo">
- <field name="action_id" ref="action_project_installer"/>
- <field name="type">special</field>
- <field name="sequence">3</field>
- </record>
-
</data>
</openerp>