~serpent-consulting-services/addons-vauxoo/7.0-fix-aging-due-mx-dependency

« back to all changes in this revision

Viewing changes to issue_view/model/project_issue.py

  • Committer: Moises Lopez
  • Date: 2014-10-03 08:04:16 UTC
  • mfrom: (1144.1.3 70-addons-vauxoo)
  • Revision ID: moylop260@vauxoo.com-20141003080416-yquvsxfq5i4cy8ux
[MERGE] [FIX] trailing whitespace pylint error C0303 and
[FIX] autopep8 ignoring E501 & E128 and
[FIX] reimported

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 #-*- coding: utf-8 -*-
 
1
#-*- coding: utf-8 -*-
2
2
##############################################################################
3
3
#
4
4
#    OpenERP, Open Source Management Solution
22
22
from openerp.osv import osv, fields
23
23
 
24
24
 
25
 
 
26
25
class project_issue(osv.Model):
27
26
 
28
27
    _inherit = 'project.issue'
33
32
        'sprint_id': fields.related('task_id', 'sprint_id', relation='project.scrum.sprint', type='many2one', string='Sprint', store=True),
34
33
        'planned_hours': fields.related('task_id', 'planned_hours', type='float', string='Horas', store=False),
35
34
    }
36