From c0bf28534ed688fd6173a9dcfe29d7be930bb092 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Thu, 23 Jul 2015 01:01:27 +0200 Subject: [PATCH] [FIX] crm_claim: wrong many2one on claims report The field used for the report was different than the field used on the model the report is based uppon. As analyzed by jle. opw-645582 --- addons/crm_claim/report/crm_claim_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm_claim/report/crm_claim_report.py b/addons/crm_claim/report/crm_claim_report.py index ad56fa5e34e..bfc63565572 100644 --- a/addons/crm_claim/report/crm_claim_report.py +++ b/addons/crm_claim/report/crm_claim_report.py @@ -62,7 +62,7 @@ class crm_claim_report(osv.osv): 'create_date': fields.datetime('Create Date', readonly=True, select=True), 'day': fields.char('Day', size=128, readonly=True), 'delay_close': fields.float('Delay to close', digits=(16,2),readonly=True, group_operator="avg",help="Number of Days to close the case"), - 'stage_id': fields.many2one ('crm.case.stage', 'Stage', readonly=True,domain="[('section_ids','=',section_id)]"), + 'stage_id': fields.many2one ('crm.claim.stage', 'Stage', readonly=True,domain="[('section_ids','=',section_id)]"), 'categ_id': fields.many2one('crm.case.categ', 'Category',\ domain="[('section_id','=',section_id),\ ('object_id.model', '=', 'crm.claim')]", readonly=True),