From 72d4edc4c40bc5f5093c88d41655d309fbbf7434 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Thu, 8 Jul 2010 11:48:06 +0530 Subject: [PATCH] [IMP]: crm_helpdesk: Added fields for message and logs bzr revid: rpa@tinyerp.com-20100708061806-5pw6q2q4htap1jlt --- addons/crm_helpdesk/crm_helpdesk.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/crm_helpdesk/crm_helpdesk.py b/addons/crm_helpdesk/crm_helpdesk.py index f6106db5903..38352691db0 100644 --- a/addons/crm_helpdesk/crm_helpdesk.py +++ b/addons/crm_helpdesk/crm_helpdesk.py @@ -76,7 +76,9 @@ class crm_helpdesk(osv.osv, crm.crm_case): help='The state is set to \'Draft\', when a case is created.\ \nIf the case is in progress the state is set to \'Open\'.\ \nWhen the case is over, the state is set to \'Done\'.\ - \nIf the case needs to be reviewed then the state is set to \'Pending\'.'), + \nIf the case needs to be reviewed then the state is set to \'Pending\'.'), + 'message_ids': fields.one2many('mailgate.message', 'res_id', 'Messages', domain=[('history', '=', True),('model','=',_name)]), + 'log_ids': fields.one2many('mailgate.message', 'res_id', 'Logs', domain=[('history', '=', False),('model','=',_name)]), } _defaults = {