Skip to content
Snippets Groups Projects
Commit c0bf2853 authored by Nicolas Lempereur's avatar Nicolas Lempereur
Browse files

[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
parent e0c1f54f
Branches
Tags
No related merge requests found
......@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment