[IMP] improve layout of project config wizard

bzr revid: fka@tinyerp.com-20120718105757-8k57h899qhip3jzw
This commit is contained in:
Foram Katharotiya (OpenERP) 2012-07-18 16:27:57 +05:30
parent b79c49dfd9
commit c3da84fbca
2 changed files with 71 additions and 20 deletions

View File

@ -6,29 +6,79 @@
<field name="type">form</field>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<form string="Configure Project" version="7.0">
<form string="Configure Project" version="7.0" class="oe_form_configuration">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
or
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
</header>
<group>
<group col="1">
<group>
<separator string="Project" colspan="2"/>
<field name="module_project_mrp"/>
<field name="module_project_timesheet"/>
<field name="module_pad"/>
<field name="group_tasks_work_on_tasks"/>
<field name="group_time_work_estimation_tasks"/>
<field name="group_manage_delegation_task"/>
<field name="time_unit" domain="[('category_id.name','=','Working Time')]"/>
<div>
<separator string="Project"/>
<group>
<label for="id" string="Project Option"/>
<div>
<div>
<field name="module_project_mrp" class="oe_inline"/>
Create<label for="module_project_mrp" string="Project Tasks"/>from a Sale Order
</div>
<div>
<field name="module_project_timesheet" class="oe_inline"/>
Allow<label for="module_project_timesheet" string="Timesheets"/>per Task
</div>
<div>
<field name="module_pad" class="oe_inline"/>
Use<label for="module_pad" string="Collaborative Note Pads"/>for Tasks
</div>
<div>
<field name="group_tasks_work_on_tasks" class="oe_inline"/>
Allow<label for="group_tasks_work_on_tasks" string="Task's Work"/>on Tasks
</div>
<div>
<field name="group_time_work_estimation_tasks" class="oe_inline"/>
Allow<label for="group_time_work_estimation_tasks" string="Time Estimation"/>on Tasks
</div>
<div>
<field name="group_manage_delegation_task" class="oe_inline"/>
Manage<label for="group_manage_delegation_task" string="Task Delegation"/>
</div>
<div>
The Default<label for="time_unit"/>is:
<field name="time_unit" class="oe_inline" domain="[('category_id.name','=','Working Time')]"/>
</div>
</div>
</group>
</div>
</group>
<group name="project_left_column">
<separator string="Planing" colspan="2"/>
<field name="module_project_long_term"/>
<separator string="Helpdesk and Support" colspan="2"/>
<field name="module_project_issue"/>
<field name="module_project_issue_sheet"/>
<div>
<separator string="Planing"/>
<group>
<label for="id" string="Project Planing"/>
<div>
<div>
<field name="module_project_long_term" class="oe_inline"/>
Manage<label for="module_project_long_term" string="Gantt and Resource"/>Planning
</div>
</div>
</group>
<separator string="Helpdesk and Support"/>
<group>
<label for="id" string="Helpdesk and Support"/>
<div>
<div>
<field name="module_project_issue" class="oe_inline"/>
Provides<label for="module_project_issue" string="Issues and Bug Tracking"/>in Projects
</div>
<div name="module_project_issue_sheet">
<field name="module_project_issue_sheet" class="oe_inline"/>
Provides<label for="module_project_issue_sheet" string="timesheet support"/>for the issues and Bug Tracking
</div>
</div>
</group>
</div>
</group>
</group>
</form>

View File

@ -8,14 +8,15 @@
<field name="type">form</field>
<field name="inherit_id" ref="project.view_config_settings"/>
<field name="arch" type="xml">
<field name="module_project_issue_sheet" position="after">
<label for="fetchmail_issue"/>
<div name="module_project_issue_sheet" position="after">
<div>
<field name="fetchmail_issue"/>
<field name="fetchmail_issue" class="oe_inline"/>
Create<label for="fetchmail_issue" string="Issues"/>from Incoming Mails
<button name="configure_fetchmail_issue" type="object" string="Configure" icon="gtk-go-forward"
attrs="{'invisible': [('fetchmail_issue','=',False)]}"/>
attrs="{'invisible': [('fetchmail_issue','=',False)]}" class="oe_link"/>
</div>
</field>
</div>
</field>
</record>