Skip to content

Commit

Permalink
[FIX] project_gtd.py : Corrected class names during super() calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmequignon committed Aug 21, 2017
1 parent 87fcd83 commit 53b3c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project_gtd/project_gtd.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ def copy_data(self, default=None):
default['timebox_id'] = False
if not default.get('context_id'):
default['context_id'] = False
return super(project_task, self).copy_data(default)
return super(ProjectTask, self).copy_data(default)

@api.model
def fields_view_get(self, view_id=None, view_type='form', toolbar=False,
submenu=False):
res = super(project_task, self).fields_view_get(
res = super(ProjectTask, self).fields_view_get(
view_id, view_type, toolbar=toolbar, submenu=submenu)
timebox_model = self.env['project.gtd.timebox']
if (res['type'] == 'search') and self.env.context.get('gtd', False):
Expand Down

0 comments on commit 53b3c7a

Please sign in to comment.