summaryrefslogtreecommitdiff
path: root/addons/project_issue/project_issue.py
diff options
context:
space:
mode:
authorrpa (Open ERP) <rpa@tinyerp.com>2010-06-24 18:48:40 +0530
committerrpa (Open ERP) <rpa@tinyerp.com>2010-06-24 18:48:40 +0530
commit9c1acb120bd2bf15ad12f4c4bd0d8fe98f6cc2ab (patch)
tree71e04cdd53ae407812436ae4968d43a926a3a7a0 /addons/project_issue/project_issue.py
parent622295bb9a4520257f3ff49a30e6ffc5d8e29d86 (diff)
[FIX]: project_issue, hr_recruitment: Fixed wrong domain
bzr revid: rpa@tinyerp.com-20100624131840-h2t7ht0yov78gblk
Diffstat (limited to 'addons/project_issue/project_issue.py')
-rw-r--r--addons/project_issue/project_issue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py
index 675818214a5..5a709876f1a 100644
--- a/addons/project_issue/project_issue.py
+++ b/addons/project_issue/project_issue.py
@@ -178,8 +178,8 @@ class project_issue(osv.osv, crm.crm_case):
method=True, multi='working_days_open', type="float", store=True),
'working_hours_close': fields.function(_compute_day, string='Working Hours to Close the Issue', \
method=True, multi='working_days_close', type="float", store=True),
- '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)]),
}
def _get_project(self, cr, uid, context):