[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
This commit is contained in:
Nicolas Lempereur 2015-07-23 01:01:27 +02:00
parent e0c1f54fd7
commit c0bf28534e
1 changed files with 1 additions and 1 deletions

View File

@ -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),