[FIX] report data should hold everything returned in the datas key from the report action, except for the ids. Not just form

lp bug: https://launchpad.net/bugs/879298 fixed

bzr revid: xmo@openerp.com-20111021143232-7nde37eqwh1h9n3r
This commit is contained in:
Xavier Morel 2011-10-21 16:32:32 +02:00
parent 956ed719ae
commit 7de9c3ebd1
1 changed files with 2 additions and 3 deletions

View File

@ -1373,10 +1373,9 @@ class Reports(View):
if 'report_type' in action:
report_data['report_type'] = action['report_type']
if 'datas' in action:
if 'form' in action['datas']:
report_data['form'] = action['datas']['form']
if 'ids' in action['datas']:
report_ids = action['datas']['ids']
report_ids = action['datas'].pop('ids')
report_data.update(action['datas'])
report_id = report_srv.report(
req.session._db, req.session._uid, req.session._password,