[FIX] Project: rename ctx to context
bzr revid: mra@mra-laptop-20100805095418-4votyplo006tdb8s
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user