[FIX]stock:Unicode encoding problem on stock module
lp bug: https://launchpad.net/bugs/697142 fixed bzr revid: ron@tinyerp.com-20110104115138-w9u4790u5uownb4q
This commit is contained in:
parent
a84d9c09a1
commit
d69f7470a3
|
@ -1775,7 +1775,7 @@ class stock_move(osv.osv):
|
||||||
picking_obj = self.pool.get('stock.picking')
|
picking_obj = self.pool.get('stock.picking')
|
||||||
pick_id= picking_obj.create(cr, uid, {
|
pick_id= picking_obj.create(cr, uid, {
|
||||||
'name': pick_name,
|
'name': pick_name,
|
||||||
'origin': str(picking.origin or ''),
|
'origin': tools.ustr(picking.origin or ''),
|
||||||
'type': ptype,
|
'type': ptype,
|
||||||
'note': picking.note,
|
'note': picking.note,
|
||||||
'move_type': picking.move_type,
|
'move_type': picking.move_type,
|
||||||
|
|
Loading…
Reference in New Issue