[FIX] cannot open from of task when project caldav is installed

bzr revid: tfr@openerp.com-20110708120628-i6eyl0kdpkgt2ara
This commit is contained in:
tfr@openerp.com
2011-07-08 14:06:28 +02:00
parent dae2957394
commit c1e2afebe8
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -42,11 +42,11 @@ class project_task(osv.osv):
help='If the task is created the state is \'Draft\'.\n If the task is started, the state becomes \'In Progress\'.\n If review is needed the task is in \'Pending\' state.\
\n If the task is over, the states is set to \'Done\'.'),
}
_defaults = {
'state': 'draft',
}
def open_task(self, cr, uid, ids, context=None):
"""
Open Task Form for Project Task.
@@ -66,8 +66,7 @@
<field name="arch" type="xml">
<field name="progress" position="after">
<field name="recurrency"/>
<field name="edit_all" attrs="{'invisible':[('recurrency','=', False)]}"
on_change="onchange_edit_all(rrule_type,edit_all)"/>
<field name="edit_all" attrs="{'invisible':[('recurrency','=', False)]}" />
</field>
</field>
</record>