[DOC] Added some comments.
bzr revid: tde@openerp.com-20121102160734-gbh3iox0zb9hign7
This commit is contained in:
parent
0573d1fb40
commit
93976b33f9
|
@ -1130,6 +1130,11 @@ class task(base_stage, osv.osv):
|
|||
return True
|
||||
|
||||
def _subscribe_project_followers_to_task(self, cr, uid, task_id, context=None):
|
||||
""" TDE note: not the best way to do this, we could override _get_followers
|
||||
of task, and perform a better mapping of subtypes than a mapping
|
||||
based on names.
|
||||
However we will keep this implementation, maybe to be refactored
|
||||
in 7.1 of future versions. """
|
||||
# task followers are project followers, with matching subtypes
|
||||
task_record = self.browse(cr, uid, task_id, context=context)
|
||||
subtype_obj = self.pool.get('mail.message.subtype')
|
||||
|
|
|
@ -360,6 +360,11 @@ class project_issue(base_stage, osv.osv):
|
|||
context=context)
|
||||
|
||||
def _subscribe_project_followers_to_issue(self, cr, uid, task_id, context=None):
|
||||
""" TDE note: not the best way to do this, we could override _get_followers
|
||||
of issue, and perform a better mapping of subtypes than a mapping
|
||||
based on names.
|
||||
However we will keep this implementation, maybe to be refactored
|
||||
in 7.1 of future versions. """
|
||||
# task followers are project followers, with matching subtypes
|
||||
task_record = self.browse(cr, uid, task_id, context=context)
|
||||
subtype_obj = self.pool.get('mail.message.subtype')
|
||||
|
|
Loading…
Reference in New Issue