[FIX] readonly on ressource allocation

bzr revid: tfr@openerp.com-20110110130343-skaqokrwtp29bsoj
This commit is contained in:
Thibault Francois 2011-01-10 14:03:43 +01:00
parent 41bf6551bd
commit cde802993a
1 changed files with 11 additions and 11 deletions

View File

@ -127,14 +127,14 @@
<field colspan="4" name="resource_ids" nolabel="1">
<tree editable="bottom" string="Project Resource Allocation">
<field name="resource_id" context="{'project_id':parent.project_id}"/>
<field name="date_start" readonly="1"/>
<field name="date_end" readonly="1"/>
<field name="date_start"/>
<field name="date_end"/>
<field name="useability" string="Availability"/>
</tree>
<form string="Project Resource Allocation">
<field name="resource_id" context="{'project_id':parent.project_id}"/>
<field name="date_start" readonly="1"/>
<field name="date_end" readonly="1"/>
<field name="date_start" />
<field name="date_end"/>
<field name="useability" string="Availability"/>
</form>
</field>
@ -267,7 +267,7 @@
<field name="arch" type="xml">
<search string="Project Phases">
<group colspan="4" col="20">
<filter string="Current" domain="[('state','in',('open','draft'))]" name="current" help="Draft and In Progress Phases" icon="terp-check"/>
<filter string="Current" domain="[('state','in',('open','draft'))]" name="current" help="Draft and In Progress Phases" icon="terp-check"/>
<filter string="In Progress" name="Progress" domain="[('state','=','open')]" help="In Progress Phases" icon="terp-camera_test"/>
<filter string="Pending" domain="[('state','=','pending')]" help="Pending Phases" icon="terp-gtk-media-pause"/>
<separator orientation="vertical"/>
@ -397,21 +397,21 @@
name="Phases"
res_model="project.phase"
src_model="project.project"
domain="[('project_id', '=', active_id)]"
domain="[('project_id', '=', active_id)]"
view_mode="tree,form"
view_type="form"
/>
/>
<act_window
context="{'search_default_user_id': [user_id]}"
<act_window
context="{'search_default_user_id': [user_id]}"
id="act_project_resource"
name="Resources"
res_model="resource.resource"
src_model="project.project"
domain="[('user_id', '=',user_id)]"
domain="[('user_id', '=',user_id)]"
view_mode="tree,form"
view_type="form"
/>
/>
# ------------------------------------------------------
# Menu Items