Comment 0 for bug 707809

Revision history for this message
mrshelly (mrshelly) wrote :

in stock module line 87..

inventory_id = inventry_obj.create(cr , uid, {'name': _('INV: ') + str(res_original.name)}, context=context)

I got the "UnicodeEncodeError" exception.

and I fixed it with:

inventory_id = inventry_obj.create(cr , uid, {'name': _('INV: ') + res_original.name}, context=context)