[FIX] Project: rename ctx to context

bzr revid: mra@mra-laptop-20100805095418-4votyplo006tdb8s
This commit is contained in:
Mustufa Rangwala
2010-08-05 15:24:18 +05:30
parent c4f3dc085d
commit 80e39cbe2e
+1 -1
View File
@@ -705,7 +705,7 @@ class config_compute_remaining(osv.osv_memory):
def _get_remaining(self,cr, uid, context=None):
if context and 'active_id' in context:
return self.pool.get('project.task').browse(cr, uid, ctx['active_id'], context=context).remaining_hours
return self.pool.get('project.task').browse(cr, uid, context['active_id'], context=context).remaining_hours
return False
_columns = {