[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:
ron@tinyerp.com 2011-01-04 17:21:38 +05:30
parent a84d9c09a1
commit d69f7470a3
1 changed files with 1 additions and 1 deletions

View File

@ -1775,7 +1775,7 @@ class stock_move(osv.osv):
picking_obj = self.pool.get('stock.picking')
pick_id= picking_obj.create(cr, uid, {
'name': pick_name,
'origin': str(picking.origin or ''),
'origin': tools.ustr(picking.origin or ''),
'type': ptype,
'note': picking.note,
'move_type': picking.move_type,