[FIX] purchase: invoice_open should return action.

This line was wrongly removed by 0fd773a486

Courtesy of @alhashash (http://git.io/vJfRQ)
This commit is contained in:
Christophe Simonis
2015-04-29 13:57:38 +02:00
parent a2cfe567de
commit 96002cb2bd
+1
View File
@@ -422,6 +422,7 @@ class purchase_order(osv.osv):
if not inv_ids:
raise UserError(_('Please create Invoices.'))
result['domain'] = [('id', 'in', inv_ids)]
return result
def view_invoice(self, cr, uid, ids, context=None):
'''