[IMP] crm: remove suspicion of dead code

bzr revid: rco@openerp.com-20111220152931-0jrscthuq7c932iv
This commit is contained in:
Raphael Collet 2011-12-20 16:29:31 +01:00
parent 4cb4ac397b
commit 27e90e2d30
2 changed files with 1 additions and 3 deletions

View File

@ -468,12 +468,10 @@ class crm_case(crm_base):
self._action(cr, uid, cases, state)
return True
#DEAD Code
def remind_partner(self, cr, uid, ids, context=None, attach=False):
return self.remind_user(cr, uid, ids, context, attach,
destination=False)
#DEAD Code
def remind_user(self, cr, uid, ids, context=None, attach=False, destination=True):
mail_message = self.pool.get('mail.message')
for case in self.browse(cr, uid, ids, context=context):

View File

@ -125,7 +125,7 @@ class base_action_rule(osv.osv):
"""Gets available states for crm"""
res = super(base_action_rule, self).state_get(cr, uid, context=context)
return res + crm.AVAILABLE_STATES
# Dead Code
def priority_get(self, cr, uid, context=None):
res = super(base_action_rule, self).priority_get(cr, uid, context=context)
return res + crm.AVAILABLE_PRIORITIES