From 1316ff71c57bbc715416aa34b378617af3d71001 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Thu, 24 Jun 2010 18:46:40 +0530 Subject: [PATCH] [IMP]: crm_fundraising: Improvements in crm fundraising as per testing bzr revid: rpa@tinyerp.com-20100624131640-sx7coof4pktp9t9n --- addons/crm_fundraising/crm_fundraising.py | 4 +-- .../crm_fundraising/crm_fundraising_view.xml | 34 +++++++++++-------- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/addons/crm_fundraising/crm_fundraising.py b/addons/crm_fundraising/crm_fundraising.py index 0841fdac998..2fd7f4c6f52 100644 --- a/addons/crm_fundraising/crm_fundraising.py +++ b/addons/crm_fundraising/crm_fundraising.py @@ -85,8 +85,8 @@ class crm_fundraising(osv.osv, crm.crm_case): \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\'.'), - 'message_ids': fields.one2many('mailgate.message', 'res_id', 'Messages', domain=[('history', '=', True),('res_model','=',_name)]), - 'log_ids': fields.one2many('mailgate.message', 'res_id', 'Logs', domain=[('history', '=', False),('res_model','=',_name)]), + '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 = { diff --git a/addons/crm_fundraising/crm_fundraising_view.xml b/addons/crm_fundraising/crm_fundraising_view.xml index 4824cc8b3a3..68705d73d8e 100644 --- a/addons/crm_fundraising/crm_fundraising_view.xml +++ b/addons/crm_fundraising/crm_fundraising_view.xml @@ -72,21 +72,21 @@ -