[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:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user