← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 707809] Re: UnicodeEncodeError in addons\stock\wizard\stock_change_product_qty.py

 

** Branch linked: lp:~openerp-dev/openobject-addons/ron-dev-addons2

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/707809

Title:
  UnicodeEncodeError in addons\stock\wizard\stock_change_product_qty.py

Status in OpenERP Modules (addons):
  Fix Committed

Bug description:
  in stock module line
  87..(addons\stock\wizard\stock_change_product_qty.py", line 87  OE
  server 6.0.1 windows all in one.)

  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)





References