[IMP] Check user demo will not have error in checking access rules when seeing picking in barcode itf
bzr revid: jco@openerp.com-20140505142654-sjhz1wdoqxztzbrx
This commit is contained in:
parent
f6593c49a5
commit
c818a210ab
|
@ -596,7 +596,7 @@ function openerp_picking_widgets(instance){
|
|||
// if we have a specified picking id, we load that one, and we load the picking of the same type as the active list
|
||||
if( picking_id ){
|
||||
var loaded_picking = new instance.web.Model('stock.picking')
|
||||
.call('read',[[picking_id], [], new instance.web.CompoundContext()])
|
||||
.call('read',[[parseInt(picking_id)], [], new instance.web.CompoundContext()])
|
||||
.then(function(picking){
|
||||
self.picking = picking[0];
|
||||
|
||||
|
|
Loading…
Reference in New Issue