[FIX] point_of_sale: return the session id in the context for the call of the pos.ui

bzr revid: stw@openerp.com-20120927122022-fy2gx1z1xtkk14xt
This commit is contained in:
Stephane Wirtel
2012-09-27 14:20:22 +02:00
parent 4f74d0aee1
commit ff211c375a
+2 -2
View File
@@ -439,10 +439,10 @@ class pos_session(osv.osv):
context = {}
if not ids:
return {}
context.update({'session_id' : ids[0]})
context.update({'active_id': ids[0]})
return {
'type' : 'ir.actions.client',
'name' : 'Start Point Of Sale',
'name' : _('Start Point Of Sale'),
'tag' : 'pos.ui',
'context' : context,
}