[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:
parent
e0c1f54fd7
commit
c0bf28534e
|
@ -62,7 +62,7 @@ class crm_claim_report(osv.osv):
|
||||||
'create_date': fields.datetime('Create Date', readonly=True, select=True),
|
'create_date': fields.datetime('Create Date', readonly=True, select=True),
|
||||||
'day': fields.char('Day', size=128, readonly=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"),
|
'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',\
|
'categ_id': fields.many2one('crm.case.categ', 'Category',\
|
||||||
domain="[('section_id','=',section_id),\
|
domain="[('section_id','=',section_id),\
|
||||||
('object_id.model', '=', 'crm.claim')]", readonly=True),
|
('object_id.model', '=', 'crm.claim')]", readonly=True),
|
||||||
|
|
Loading…
Reference in New Issue