[REF] project_long_term: Clean the views
bzr revid: stw@openerp.com-20120615143922-5oq815a5rs1sop1l
This commit is contained in:
parent
16f5816731
commit
34891cff99
|
@ -28,7 +28,7 @@ class project_compute_phases(osv.osv_memory):
|
|||
'target_project': fields.selection([
|
||||
('all', 'Compute All My Projects'),
|
||||
('one', 'Compute a Single Project'),
|
||||
], 'Schedule', required=True),
|
||||
], 'Action', required=True),
|
||||
'project_id': fields.many2one('project.project', 'Project')
|
||||
}
|
||||
_defaults = {
|
||||
|
|
|
@ -10,9 +10,8 @@
|
|||
<form string="Schedule Phases" version="7.0">
|
||||
<header>
|
||||
<button icon="gtk-ok" name="check_selection" string="C_ompute" type="object"/>
|
||||
<button icon="gtk-cancel" special="cancel" string="_Cancel"/>
|
||||
</header>
|
||||
<group string="Schedule Phases">
|
||||
<group>
|
||||
<field name="target_project"/>
|
||||
<field name="project_id" attrs="{'invisible':[('target_project','=','all')], 'required':[('target_project','!=','all')]}"/>
|
||||
</group>
|
||||
|
|
Loading…
Reference in New Issue