[FIX] project: state button visible now
lp bug: https://launchpad.net/bugs/1021278 fixed bzr revid: cha@tinyerp.com-20120706134303-7cz3dyrsr9xvaf6k
This commit is contained in:
@@ -660,7 +660,6 @@ class task(base_stage, osv.osv):
|
||||
if not default.get('remaining_hours', False):
|
||||
default['remaining_hours'] = float(self.read(cr, uid, id, ['planned_hours'])['planned_hours'])
|
||||
default['active'] = True
|
||||
default['stage_id'] = False
|
||||
if not default.get('name', False):
|
||||
default['name'] = self.browse(cr, uid, id, context=context).name or ''
|
||||
if not context.get('copy',False):
|
||||
|
||||
Reference in New Issue
Block a user