[FIX] account: remove partial fix for forcing right active_ids

This has been fixed in the web client 3991 revid:dle@openerp.com-20140430123818-zzdxmat4c5yg9gg7

bzr revid: dle@openerp.com-20140430125033-44vbf00spawm9mbg
This commit is contained in:
Denis Ledoux 2014-04-30 14:50:33 +02:00
parent af03a3e4e0
commit b7c125869f
1 changed files with 1 additions and 3 deletions

View File

@ -409,9 +409,7 @@ class account_invoice(osv.osv):
'''
assert len(ids) == 1, 'This option should only be used for a single id at a time.'
self.write(cr, uid, ids, {'sent': True}, context=context)
context2 = context.copy()
context2['active_ids'] = ids
return self.pool['report'].get_action(cr, uid, [], 'account.report_invoice', context=context2)
return self.pool['report'].get_action(cr, uid, [], 'account.report_invoice', context=context)
def action_invoice_sent(self, cr, uid, ids, context=None):
'''