[REM] web: /web/report: remove useless check on action data
bzr revid: chs@openerp.com-20131009131658-xjbr16zx3loy45x2
This commit is contained in:
parent
5af16d6df8
commit
f263e02bc0
|
@ -1691,8 +1691,6 @@ class Reports(http.Controller):
|
|||
if 'ids' in action['datas']:
|
||||
report_ids = action['datas'].pop('ids')
|
||||
report_data.update(action['datas'])
|
||||
if not report_ids:
|
||||
raise ValueError("action['datas']['ids'] and context['active_ids'] are undefined")
|
||||
|
||||
report_id = report_srv.report(
|
||||
request.session.db, request.session.uid, request.session.password,
|
||||
|
|
Loading…
Reference in New Issue