improved project view

bzr revid: apa@tinyerp.com-20120530071541-yyriflh6u737zd9b
This commit is contained in:
Amit Patel (OpenERP) 2012-05-30 12:45:41 +05:30
parent 87040b2390
commit 4fc454658f
4 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@
<field name="partner_id" on_change="onchange_partner_id(partner_id)" select="1"/>
<field name="user_id" string="Project Manager" select="1" attrs="{'readonly':[('state','in',['close', 'cancelled'])]}"/>
<field name="analytic_account_id" invisible="1" required="0"/>
<!--<field name="parent_id" string="Parent" domain="[('id','!=',analytic_account_id)]" context="{'current_model': 'project.project'}"/>-->
<field name="parent_id" invisible="1" string="Parent" domain="[('id','!=',analytic_account_id)]" context="{'current_model': 'project.project'}"/>
<!--<field name="date_start" string="Start Date" attrs="{'readonly':[('state','in',['close', 'cancelled'])]}"/>-->
<!--<field name="date" string="End Date" attrs="{'readonly':[('state','in',['close', 'cancelled'])]}"/>-->
<!--<field name="progress_rate" widget="progressbar"/>-->
@ -49,7 +49,7 @@
<tr name="use_tasks">
<th width="140px">Tasks Management</th>
<td><field name="use_tasks" nolabel="1"/></td>
<td><button class="oe_btn_width" name="%(act_project_project_2_project_task_all)d" string="Tasks" type="action" attrs="{'invisible':[('use_tasks','=', 0)]}"/></td>
<td style="text-align:right;" width="110px"><button class="oe_btn_width" name="%(act_project_project_2_project_task_all)d" string="Tasks" type="action" attrs="{'invisible':[('use_tasks','=', 0)]}"/></td>
</tr>
</table>
</group>

View File

@ -364,7 +364,7 @@
<tr name="use_issues">
<th>Issues Tracking</th>
<td><field name="use_issues" nolabel="1"/></td>
<td><button class="oe_btn_width" name="%(act_project_project_2_project_issue_all)d" string="Issues" type="action" attrs="{'invisible':[('use_issues','=', 0)]}"/></td>
<td style="text-align:right;"><button class="oe_btn_width" name="%(act_project_project_2_project_issue_all)d" string="Issues" type="action" attrs="{'invisible':[('use_issues','=', 0)]}"/></td>
</tr>
</xpath>
<field name="priority" position="before">

View File

@ -108,7 +108,7 @@
<tr name="use_phases">
<th>Phases Planing</th>
<td><field name="use_phases" nolabel="1"/></td>
<td><button class="oe_btn_width" name="%(act_project_phases)d" string="Phases" type="action" attrs="{'invisible':[('use_phases','=', 0)]}"/></td>
<td style="text-align:right;"><button class="oe_btn_width" name="%(act_project_phases)d" string="Phases" type="action" attrs="{'invisible':[('use_phases','=', 0)]}"/></td>
</tr>
</xpath>
</field>

View File

@ -11,7 +11,7 @@
<tr name="use_timesheets">
<th>Timesheets</th>
<td><field name="use_timesheets" nolabel="1"/></td>
<td><button class="oe_btn_width" name="open_timesheets" string="Timesheets" type="object" attrs="{'invisible':[('use_timesheets','=', 0)]}"/></td>
<td style="text-align:right;"><button class="oe_btn_width" name="open_timesheets" string="Timesheets" type="object" attrs="{'invisible':[('use_timesheets','=', 0)]}"/></td>
</tr>
</xpath>
<field name="use_tasks" position='after'>