[FIX] point_of_sale: copy/paste error, super must use the apropriate class

This commit is contained in:
Denis Ledoux 2014-08-18 17:49:24 +02:00
parent b7c911980b
commit 0dcca6cf48
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class account_invoice(osv.Model):
user = self.pool['res.users'].browse(cr, SUPERUSER_ID, uid, context=context)
if user.share:
return self.pool['ir.actions.act_window'].for_xml_id(cr, uid, 'portal_sale', 'portal_action_invoices', context=context)
return super(sale_order, self).get_formview_action(cr, uid, id, context=context)
return super(account_invoice, self).get_formview_action(cr, uid, id, context=context)
class mail_mail(osv.osv):