[REM] web: /web/report: remove useless check on action data

bzr revid: chs@openerp.com-20131009131658-xjbr16zx3loy45x2
This commit is contained in:
Christophe Simonis 2013-10-09 15:16:58 +02:00
parent 5af16d6df8
commit f263e02bc0
1 changed files with 0 additions and 2 deletions

View File

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